summaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_http_server.c
diff options
context:
space:
mode:
authorDavid Barksdale <amatus.amongus@gmail.com>2014-07-03 20:11:03 +0000
committerDavid Barksdale <amatus.amongus@gmail.com>2014-07-03 20:11:03 +0000
commit5eaaab6d7d679e9412e5dad363ea849b70c5569e (patch)
tree977c7021af5d13c034c7435bd41f99776cf32795 /src/transport/plugin_transport_http_server.c
parentd1ba9ac87f65a748d6e064bff6393eb13b329403 (diff)
Require libmicrohttpd >= 0.9.32
We are using suspend/resume features for plugin_transport_http_server which were added in 0.9.32.
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,