summaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_http_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/plugin_transport_http_server.c')
-rw-r--r--src/transport/plugin_transport_http_server.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/transport/plugin_transport_http_server.c b/src/transport/plugin_transport_http_server.c
index d8ed313b6..f0ea5263f 100644
--- a/src/transport/plugin_transport_http_server.c
+++ b/src/transport/plugin_transport_http_server.c
@@ -2223,10 +2223,8 @@ 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,
+ MHD_USE_SUSPEND_RESUME,
+ plugin->port,
&server_accept_cb, plugin,
&server_access_cb, plugin,
MHD_OPTION_SOCK_ADDR,