add cancellation support while connecting, to speed up WebSocket::stop

This commit is contained in:
Benjamin Sergeant
2018-12-09 17:56:20 -08:00
parent 5bf1b91528
commit 50b638f7fd
13 changed files with 69 additions and 25 deletions

View File

@ -13,8 +13,11 @@ g++ --std=c++11 \
../../ixwebsocket/IXSocket.cpp \
../../ixwebsocket/IXWebSocketTransport.cpp \
../../ixwebsocket/IXWebSocket.cpp \
../../ixwebsocket/IXSocketConnect.cpp \
../../ixwebsocket/IXSocketOpenSSL.cpp \
../../ixwebsocket/IXWebSocketPerMessageDeflate.cpp \
../../ixwebsocket/IXWebSocketPerMessageDeflateOptions.cpp \
-I ../.. \
ws_connect.cpp \
-o ws_connect \
-lcrypto -lssl -lpthread
-lcrypto -lssl -lz -lpthread