aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/daemon.c')
-rw-r--r--src/microhttpd/daemon.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 428b86df..40ce74b3 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -2220,6 +2220,12 @@ MHD_run_from_select (struct MHD_Daemon *daemon,
2220 char tmp; 2220 char tmp;
2221 struct MHD_Connection *pos; 2221 struct MHD_Connection *pos;
2222 struct MHD_Connection *next; 2222 struct MHD_Connection *next;
2223 unsigned int mask = MHD_USE_SUSPEND_RESUME | MHD_USE_EPOLL_INTERNALLY_LINUX_ONLY |
2224 MHD_USE_SELECT_INTERNALLY | MHD_USE_POLL_INTERNALLY | MHD_USE_THREAD_PER_CONNECTION;
2225
2226 /* Resuming external connections when using an extern mainloop */
2227 if (MHD_USE_SUSPEND_RESUME == (daemon->options & mask))
2228 resume_suspended_connections (daemon);
2223 2229
2224#if EPOLL_SUPPORT 2230#if EPOLL_SUPPORT
2225 if (0 != (daemon->options & MHD_USE_EPOLL_LINUX_ONLY)) 2231 if (0 != (daemon->options & MHD_USE_EPOLL_LINUX_ONLY))