send optimization + ws file transfer test
This commit is contained in:
1 parent
ead9616d04
commit
ec2f229489
6 files changed
+62
-34
No files matched your search
@@ -605,7 +605,11 @@ namespace ix
|
||||
}
|
||||
}
|
||||
|
||||
_socket->wakeUpFromPoll(Socket::kSendRequest);
|
||||
// Request to flush the send buffer on the background thread if it isn't empty
|
||||
if (!isSendBufferEmpty())
|
||||
{
|
||||
_socket->wakeUpFromPoll(Socket::kSendRequest);
|
||||
}
|
||||
|
||||
return WebSocketSendInfo(true, compressionError, payloadSize, wireSize);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user