summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/socketengine_epoll.cpp2
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)