diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2016-10-27 22:11:24 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2016-10-27 22:45:01 +0300 |
commit | f2cb0ef073b5e0ae50200aec3f69822b6663e3d3 (patch) | |
tree | f69ba3d9ae99e57b53a978c2850e6631b2e5330d | |
parent | 9224b3e326ee3631901bd97e1b1f62c27c08c169 (diff) |
epoll mode: use level trigger for ITC.
Level trigger is better: MHD need to always react to high ITC level.
-rw-r--r-- | src/microhttpd/daemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c index abf2a1dc..15d58e55 100644 --- a/src/microhttpd/daemon.c +++ b/src/microhttpd/daemon.c @@ -4610,7 +4610,7 @@ setup_epoll_to_listen (struct MHD_Daemon *daemon) if ( (MHD_ITC_IS_VALID_(daemon->itc)) && (MHD_USE_SUSPEND_RESUME == (daemon->options & MHD_USE_SUSPEND_RESUME)) ) { - event.events = EPOLLIN | EPOLLET; + event.events = EPOLLIN; event.data.ptr = NULL; event.data.fd = MHD_itc_r_fd_ (daemon->itc); if (0 != epoll_ctl (daemon->epoll_fd, |