From: Matthias Wachs Date: Tue, 13 Jul 2010 08:04:24 +0000 (+0000) Subject: (no commit message) X-Git-Tag: initial-import-from-subversion-38251~20963 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5bf28a25b59ba49caa645c04368b72e075ae9c31;p=oweals%2Fgnunet.git --- 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,