From: brain Date: Tue, 31 Oct 2006 21:12:01 +0000 (+0000) Subject: We should be fine without oneshot, i'll test this. X-Git-Tag: v2.0.23~6762 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=53707ca261637f978dc16b4f93b7899240c8f769;p=user%2Fhenk%2Fcode%2Finspircd.git We should be fine without oneshot, i'll test this. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5612 e03df62e-2008-0410-955e-edbf42e46eb7 --- diff --git a/src/socketengine_epoll.cpp b/src/socketengine_epoll.cpp index c1aab07d8..54d6ff7c1 100644 --- a/src/socketengine_epoll.cpp +++ b/src/socketengine_epoll.cpp @@ -83,7 +83,7 @@ void EPollEngine::WantWrite(EventHandler* eh) * status for us and saves us a call. */ struct epoll_event ev; - ev.events = EPOLLOUT | EPOLLONESHOT; + ev.events = EPOLLOUT; ev.data.fd = eh->GetFd(); int i = epoll_ctl(EngineHandle, EPOLL_CTL_MOD, eh->GetFd(), &ev); if (i < 0)