diff options
Diffstat (limited to 'src/transport/plugin_transport_http.c')
-rw-r--r-- | src/transport/plugin_transport_http.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/transport/plugin_transport_http.c b/src/transport/plugin_transport_http.c index 247db2964..ac04610c1 100644 --- a/src/transport/plugin_transport_http.c +++ b/src/transport/plugin_transport_http.c | |||
@@ -1267,9 +1267,9 @@ http_server_daemon_prepare (struct Plugin *plugin , struct MHD_Daemon *daemon_ha | |||
1267 | tv.value = (uint64_t) timeout; | 1267 | tv.value = (uint64_t) timeout; |
1268 | else | 1268 | else |
1269 | tv = GNUNET_TIME_UNIT_SECONDS; | 1269 | tv = GNUNET_TIME_UNIT_SECONDS; |
1270 | GNUNET_NETWORK_fdset_copy_native (wrs, &rs, max); | 1270 | GNUNET_NETWORK_fdset_copy_native (wrs, &rs, max + 1); |
1271 | GNUNET_NETWORK_fdset_copy_native (wws, &ws, max); | 1271 | GNUNET_NETWORK_fdset_copy_native (wws, &ws, max + 1); |
1272 | GNUNET_NETWORK_fdset_copy_native (wes, &es, max); | 1272 | GNUNET_NETWORK_fdset_copy_native (wes, &es, max + 1); |
1273 | if (daemon_handle == plugin->http_server_daemon_v4) | 1273 | if (daemon_handle == plugin->http_server_daemon_v4) |
1274 | { | 1274 | { |
1275 | if (plugin->http_server_task_v4 != GNUNET_SCHEDULER_NO_TASK) | 1275 | if (plugin->http_server_task_v4 != GNUNET_SCHEDULER_NO_TASK) |