Fixed writing issue during write to another socket.
This commit is contained in:
1 parent
db199eaec3
commit
0dc5d5738e
36 files changed
+91
-81
No files matched your search
+1
-1
@@ -83,7 +83,7 @@ namespace core {
|
||||
|
||||
void TCPSession::send() {
|
||||
if(out.tellp() > 0)
|
||||
write(out.str());
|
||||
write(out.str(), this);
|
||||
out.str("");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user