diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-10-31 21:12:01 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-10-31 21:12:01 +0000 |
commit | 53707ca261637f978dc16b4f93b7899240c8f769 (patch) | |
tree | 9a2f765b1d107c7807bf3b50e05a2befb6450d9f /src/socketengine_epoll.cpp | |
parent | ee034e0a5caa6a25deb426f211a0b5ece0a85edc (diff) |
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
Diffstat (limited to 'src/socketengine_epoll.cpp')
-rw-r--r-- | src/socketengine_epoll.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) |