diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2016-10-27 22:12:57 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2016-10-27 22:45:02 +0300 |
commit | c38412e3fd082f2d90adc12594b9657c9496a854 (patch) | |
tree | 70845a30dc29f9239ea7beb7eb43a18ffe8c7551 | |
parent | f2cb0ef073b5e0ae50200aec3f69822b6663e3d3 (diff) | |
download | libmicrohttpd-c38412e3fd082f2d90adc12594b9657c9496a854.tar.gz libmicrohttpd-c38412e3fd082f2d90adc12594b9657c9496a854.zip |
epoll mode: always watch to ITC level if ITC was requested.
-rw-r--r-- | src/microhttpd/daemon.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c index 15d58e55..bd5244b1 100644 --- a/src/microhttpd/daemon.c +++ b/src/microhttpd/daemon.c | |||
@@ -4607,8 +4607,7 @@ setup_epoll_to_listen (struct MHD_Daemon *daemon) | |||
4607 | #endif | 4607 | #endif |
4608 | return MHD_NO; | 4608 | return MHD_NO; |
4609 | } | 4609 | } |
4610 | if ( (MHD_ITC_IS_VALID_(daemon->itc)) && | 4610 | if (MHD_ITC_IS_VALID_(daemon->itc)) |
4611 | (MHD_USE_SUSPEND_RESUME == (daemon->options & MHD_USE_SUSPEND_RESUME)) ) | ||
4612 | { | 4611 | { |
4613 | event.events = EPOLLIN; | 4612 | event.events = EPOLLIN; |
4614 | event.data.ptr = NULL; | 4613 | event.data.ptr = NULL; |