Added flush after handshake response has been sent, so that servers can start talking...
authorKurt Pattyn <pattyn.kurt@gmail.com>
Mon, 12 Aug 2013 08:42:44 +0000 (10:42 +0200)
committerKurt Pattyn <pattyn.kurt@gmail.com>
Mon, 12 Aug 2013 08:42:44 +0000 (10:42 +0200)
source/websocketserver.cpp

index 68583bf..5892875 100644 (file)
@@ -169,6 +169,7 @@ void WebSocketServer::handshakeReceived()
                {
                        QTextStream httpStream(pTcpSocket);
                        httpStream << response;
+                       httpStream.flush();
 
                        if (response.canUpgrade())
                        {