File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ namespace WS_LITE {
3939 std::thread Thread;
4040 };
4141 const auto CONTROLBUFFERMAXSIZE = 125 ;
42- enum method;
42+
4343 class WSContextImpl {
4444 public:
4545 WSContextImpl (ThreadCount threadcount, method m)
Original file line number Diff line number Diff line change @@ -42,12 +42,12 @@ namespace WS_LITE {
4242 SL_WS_LITE_LOG (Logging_Levels::INFO_log_level,
4343 " Connected: Sent Handshake bytes " << bytes_transferred);
4444
45+ socket->SocketStatus_ = SocketStatus::CONNECTED;
4546 if (listener->onConnection ) {
4647 listener->onConnection (socket, handshakecontainer->Header );
4748 }
4849 auto bufptr = std::make_shared<asio::streambuf>();
4950 ReadHeaderStart<true >(listener, socket, bufptr);
50- socket->SocketStatus_ = SocketStatus::CONNECTED;
5151 start_ping<true >(listener, socket, std::chrono::seconds (5 ));
5252 }
5353 else {
You can’t perform that action at this time.
0 commit comments