libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit f2cb0ef073b5e0ae50200aec3f69822b6663e3d3
parent 9224b3e326ee3631901bd97e1b1f62c27c08c169
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Thu, 27 Oct 2016 22:11:24 +0300

epoll mode: use level trigger for ITC.
Level trigger is better: MHD need to always react to high ITC level.

Diffstat:
Msrc/microhttpd/daemon.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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,