Loading src/event/epoll.cpp +6 −4 Original line number Diff line number Diff line Loading @@ -256,13 +256,15 @@ namespace netplus { rcon->lasteventime = time(nullptr); evconnection->RequestEvent(*rcon, tid, args); break; } else { // rcv == 0 if (rcon->csock->_Type == sockettype::TCP) { throw NetException() << "Client closed TCP connection"; } else { if (!rcon->csock->getHandshakeDone()) { continue; } else { // Handshake ist fertig und wir lesen 0? -> Verbindung zu. throw NetException() << "Client closed connection"; throw NetException() << "Client closed SSL connection"; } } } Loading Loading
src/event/epoll.cpp +6 −4 Original line number Diff line number Diff line Loading @@ -256,13 +256,15 @@ namespace netplus { rcon->lasteventime = time(nullptr); evconnection->RequestEvent(*rcon, tid, args); break; } else { // rcv == 0 if (rcon->csock->_Type == sockettype::TCP) { throw NetException() << "Client closed TCP connection"; } else { if (!rcon->csock->getHandshakeDone()) { continue; } else { // Handshake ist fertig und wir lesen 0? -> Verbindung zu. throw NetException() << "Client closed connection"; throw NetException() << "Client closed SSL connection"; } } } Loading