diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2010-07-13 08:04:24 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2010-07-13 08:04:24 +0000 |
commit | 5bf28a25b59ba49caa645c04368b72e075ae9c31 (patch) | |
tree | 06cf56150449a92331d11f93da26daefa8621f4f | |
parent | 5c3f93df195b7f1e04ae11a23860c37954f67be9 (diff) | |
download | gnunet-5bf28a25b59ba49caa645c04368b72e075ae9c31.tar.gz gnunet-5bf28a25b59ba49caa645c04368b72e075ae9c31.zip |
-rw-r--r-- | src/transport/plugin_transport_http.c | 8 |
1 files 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) | |||
2156 | port, | 2156 | port, |
2157 | &mhd_accept_cb, | 2157 | &mhd_accept_cb, |
2158 | plugin , &mdh_access_cb, plugin, | 2158 | plugin , &mdh_access_cb, plugin, |
2159 | MHD_OPTION_CONNECTION_LIMIT, (unsigned int) 16, | 2159 | MHD_OPTION_CONNECTION_LIMIT, (unsigned int) 32, |
2160 | MHD_OPTION_PER_IP_CONNECTION_LIMIT, (unsigned int) 1, | 2160 | MHD_OPTION_PER_IP_CONNECTION_LIMIT, (unsigned int) 6, |
2161 | MHD_OPTION_CONNECTION_TIMEOUT, (unsigned int) timeout, | 2161 | MHD_OPTION_CONNECTION_TIMEOUT, (unsigned int) timeout, |
2162 | MHD_OPTION_CONNECTION_MEMORY_LIMIT, (size_t) (16 * 1024), | 2162 | MHD_OPTION_CONNECTION_MEMORY_LIMIT, (size_t) (16 * 1024), |
2163 | MHD_OPTION_NOTIFY_COMPLETED, &mhd_termination_cb, NULL, | 2163 | MHD_OPTION_NOTIFY_COMPLETED, &mhd_termination_cb, NULL, |
@@ -2166,8 +2166,8 @@ libgnunet_plugin_transport_http_init (void *cls) | |||
2166 | port, | 2166 | port, |
2167 | &mhd_accept_cb, | 2167 | &mhd_accept_cb, |
2168 | plugin , &mdh_access_cb, plugin, | 2168 | plugin , &mdh_access_cb, plugin, |
2169 | MHD_OPTION_CONNECTION_LIMIT, (unsigned int) 16, | 2169 | MHD_OPTION_CONNECTION_LIMIT, (unsigned int) 32, |
2170 | MHD_OPTION_PER_IP_CONNECTION_LIMIT, (unsigned int) 1, | 2170 | MHD_OPTION_PER_IP_CONNECTION_LIMIT, (unsigned int) 6, |
2171 | MHD_OPTION_CONNECTION_TIMEOUT, (unsigned int) timeout, | 2171 | MHD_OPTION_CONNECTION_TIMEOUT, (unsigned int) timeout, |
2172 | MHD_OPTION_CONNECTION_MEMORY_LIMIT, (size_t) (16 * 1024), | 2172 | MHD_OPTION_CONNECTION_MEMORY_LIMIT, (size_t) (16 * 1024), |
2173 | MHD_OPTION_NOTIFY_COMPLETED, &mhd_termination_cb, NULL, | 2173 | MHD_OPTION_NOTIFY_COMPLETED, &mhd_termination_cb, NULL, |