Some clean-ups

This commit is contained in:
Alex Hultman
2018-11-21 23:19:20 +01:00
parent 91620c6c42
commit 519c1f5b60
5 changed files with 43 additions and 73 deletions
+2 -2
View File
@@ -73,7 +73,7 @@ public:
->writeHeader("Sec-WebSocket-Accept", secWebSocketAccept)
->end();
std::cout << "Adopting" << std::endl;
//std::cout << "Adopting" << std::endl;
// adopting will immediately delete the socket! we cannot rely on reading anything on it
// rely on http context data
@@ -84,7 +84,7 @@ public:
webSocket->init();
std::cout << "adopted" << std::endl;
//std::cout << "adopted" << std::endl;
httpContext->upgradeToWebSocket(
webSocket