projects
/
contrib
/
qtwebsockets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abed228
)
Added flush after handshake response has been sent, so that servers can start talking...
author
Kurt Pattyn
<pattyn.kurt@gmail.com>
Mon, 12 Aug 2013 08:42:44 +0000
(10:42 +0200)
committer
Kurt Pattyn
<pattyn.kurt@gmail.com>
Mon, 12 Aug 2013 08:42:44 +0000
(10:42 +0200)
source/websocketserver.cpp
patch
|
blob
|
history
diff --git
a/source/websocketserver.cpp
b/source/websocketserver.cpp
index
68583bf
..
5892875
100644
(file)
--- a/
source/websocketserver.cpp
+++ b/
source/websocketserver.cpp
@@
-169,6
+169,7
@@
void WebSocketServer::handshakeReceived()
{
QTextStream httpStream(pTcpSocket);
httpStream << response;
+ httpStream.flush();
if (response.canUpgrade())
{