Loading src/connection.cpp +3 −1 Original line number Diff line number Diff line Loading @@ -199,8 +199,10 @@ DELETEBLOCK: #ifdef DEBUG delsize += size; #endif size -= size; size -= curlen; } if(size!=0) goto HAVEDATA; } #ifdef DEBUG Loading src/linux/event.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -216,6 +216,11 @@ namespace netplus { throw except; } if(!delcon->conlock.try_lock()){ except[NetException::Note] << "CloseEvent connection in use cannot remove!"; throw except; } int ect = epoll_ctl(_pollFD, EPOLL_CTL_DEL, delcon->csock->getSocket(), 0); Loading Loading
src/connection.cpp +3 −1 Original line number Diff line number Diff line Loading @@ -199,8 +199,10 @@ DELETEBLOCK: #ifdef DEBUG delsize += size; #endif size -= size; size -= curlen; } if(size!=0) goto HAVEDATA; } #ifdef DEBUG Loading
src/linux/event.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -216,6 +216,11 @@ namespace netplus { throw except; } if(!delcon->conlock.try_lock()){ except[NetException::Note] << "CloseEvent connection in use cannot remove!"; throw except; } int ect = epoll_ctl(_pollFD, EPOLL_CTL_DEL, delcon->csock->getSocket(), 0); Loading