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.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index a6a93e77..29b61053 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -2841,6 +2841,11 @@ MHD_start_daemon_va (unsigned int flags,
2841#endif 2841#endif
2842 daemon->socket_fd = -1; 2842 daemon->socket_fd = -1;
2843 daemon->options = (enum MHD_OPTION) flags; 2843 daemon->options = (enum MHD_OPTION) flags;
2844#if WINDOWS
2845 /* Winsock is broken with respect to 'shutdown';
2846 this disables us calling 'shutdown' on W32. */
2847 daemon->options |= MHD_USE_EPOLL_TURBO;
2848#endif
2844 daemon->port = port; 2849 daemon->port = port;
2845 daemon->apc = apc; 2850 daemon->apc = apc;
2846 daemon->apc_cls = apc_cls; 2851 daemon->apc_cls = apc_cls;