Loading src/event/epoll.cpp +2 −2 Changes for src/event/epoll.cpp: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -439,8 +439,8 @@ namespace netplus { c->csock->flush_out(); } catch (NetException& e) { if (e.getErrorType() == NetException::Note) { // Level-triggered: socket will re-fire when ready setpollEventsFd(fd, EPOLLOUT | EPOLLRDHUP); rearm.disarm(); setpollEventsFd(fd, EPOLLOUT | EPOLLRDHUP | EPOLLONESHOT); return; } throw; Loading Loading
src/event/epoll.cpp +2 −2 Changes for src/event/epoll.cpp: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -439,8 +439,8 @@ namespace netplus { c->csock->flush_out(); } catch (NetException& e) { if (e.getErrorType() == NetException::Note) { // Level-triggered: socket will re-fire when ready setpollEventsFd(fd, EPOLLOUT | EPOLLRDHUP); rearm.disarm(); setpollEventsFd(fd, EPOLLOUT | EPOLLRDHUP | EPOLLONESHOT); return; } throw; Loading