From 5bf28a25b59ba49caa645c04368b72e075ae9c31 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Tue, 13 Jul 2010 08:04:24 +0000 Subject: --- src/transport/plugin_transport_http.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/transport/plugin_transport_http.c b/src/transport/plugin_transport_http.c index 3440aaa3c..f2bdc90dc 100644 --- a/src/transport/plugin_transport_http.c +++ b/src/transport/plugin_transport_http.c @@ -2156,8 +2156,8 @@ libgnunet_plugin_transport_http_init (void *cls) port, &mhd_accept_cb, plugin , &mdh_access_cb, plugin, - MHD_OPTION_CONNECTION_LIMIT, (unsigned int) 16, - MHD_OPTION_PER_IP_CONNECTION_LIMIT, (unsigned int) 1, + MHD_OPTION_CONNECTION_LIMIT, (unsigned int) 32, + MHD_OPTION_PER_IP_CONNECTION_LIMIT, (unsigned int) 6, MHD_OPTION_CONNECTION_TIMEOUT, (unsigned int) timeout, MHD_OPTION_CONNECTION_MEMORY_LIMIT, (size_t) (16 * 1024), MHD_OPTION_NOTIFY_COMPLETED, &mhd_termination_cb, NULL, @@ -2166,8 +2166,8 @@ libgnunet_plugin_transport_http_init (void *cls) port, &mhd_accept_cb, plugin , &mdh_access_cb, plugin, - MHD_OPTION_CONNECTION_LIMIT, (unsigned int) 16, - MHD_OPTION_PER_IP_CONNECTION_LIMIT, (unsigned int) 1, + MHD_OPTION_CONNECTION_LIMIT, (unsigned int) 32, + MHD_OPTION_PER_IP_CONNECTION_LIMIT, (unsigned int) 6, MHD_OPTION_CONNECTION_TIMEOUT, (unsigned int) timeout, MHD_OPTION_CONNECTION_MEMORY_LIMIT, (size_t) (16 * 1024), MHD_OPTION_NOTIFY_COMPLETED, &mhd_termination_cb, NULL, -- cgit v1.2.3