summaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_http_server.c
diff options
context:
space:
mode:
authorDavid Barksdale <amatus.amongus@gmail.com>2014-07-03 18:52:53 +0000
committerDavid Barksdale <amatus.amongus@gmail.com>2014-07-03 18:52:53 +0000
commitd1ba9ac87f65a748d6e064bff6393eb13b329403 (patch)
tree7373e11f95fccb1eb67b8070ab0bd275dbbee375 /src/transport/plugin_transport_http_server.c
parentaf990148bf09f665db076182af0f8107daa38220 (diff)
Use MHD_USE_SUSPEND_RESUME, fixes #3460
Diffstat (limited to 'src/transport/plugin_transport_http_server.c')
-rw-r--r--src/transport/plugin_transport_http_server.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/transport/plugin_transport_http_server.c b/src/transport/plugin_transport_http_server.c
index c6541ab0e..d8ed313b6 100644
--- a/src/transport/plugin_transport_http_server.c
+++ b/src/transport/plugin_transport_http_server.c
@@ -2223,6 +2223,9 @@ server_start (struct HTTP_Server_Plugin *plugin)
#if BUILD_HTTPS
MHD_USE_SSL |
#endif
+#ifdef MHD_USE_SUSPEND_RESUME
+ MHD_USE_SUSPEND_RESUME |
+#endif
MHD_NO_FLAG, plugin->port,
&server_accept_cb, plugin,
&server_access_cb, plugin,