diff --git a/Jupiter/HTTP_Server.cpp b/Jupiter/HTTP_Server.cpp index c829319..9bd9f25 100644 --- a/Jupiter/HTTP_Server.cpp +++ b/Jupiter/HTTP_Server.cpp @@ -256,7 +256,6 @@ HTTPSession::HTTPSession(Jupiter::Socket &&in_sock) : sock(std::move(in_sock)) HTTPSession::~HTTPSession() { - HTTPSession::sock.setBlocking(true); } // Server::Data struct @@ -864,6 +863,8 @@ int Jupiter::HTTP::Server::think() else // reject (too large) delete session; } + else if (session->sock.getLastError() == 10035) // store for more processing + Jupiter::HTTP::Server::data_->sessions.add(session); } } return 0; diff --git a/Release/Jupiter.lib b/Release/Jupiter.lib index 7753ab0..4222170 100644 Binary files a/Release/Jupiter.lib and b/Release/Jupiter.lib differ