aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/transport/plugin_transport_http.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/transport/plugin_transport_http.c b/src/transport/plugin_transport_http.c
index 5846a3585..21fc1eb5a 100644
--- a/src/transport/plugin_transport_http.c
+++ b/src/transport/plugin_transport_http.c
@@ -877,6 +877,7 @@ libgnunet_plugin_transport_http_init (void *cls)
877 MHD_OPTION_CONNECTION_LIMIT, (unsigned int) 16, 877 MHD_OPTION_CONNECTION_LIMIT, (unsigned int) 16,
878 MHD_OPTION_PER_IP_CONNECTION_LIMIT, (unsigned int) 1, 878 MHD_OPTION_PER_IP_CONNECTION_LIMIT, (unsigned int) 1,
879 MHD_OPTION_CONNECTION_TIMEOUT, (unsigned int) 16, 879 MHD_OPTION_CONNECTION_TIMEOUT, (unsigned int) 16,
880 /* FIXME: set correct limit */
880 MHD_OPTION_CONNECTION_MEMORY_LIMIT, (size_t) (16 * 1024), 881 MHD_OPTION_CONNECTION_MEMORY_LIMIT, (size_t) (16 * 1024),
881 MHD_OPTION_NOTIFY_COMPLETED, &requestCompletedCallback, NULL, 882 MHD_OPTION_NOTIFY_COMPLETED, &requestCompletedCallback, NULL,
882 MHD_OPTION_END); 883 MHD_OPTION_END);
@@ -887,6 +888,7 @@ libgnunet_plugin_transport_http_init (void *cls)
887 MHD_OPTION_CONNECTION_LIMIT, (unsigned int) 16, 888 MHD_OPTION_CONNECTION_LIMIT, (unsigned int) 16,
888 MHD_OPTION_PER_IP_CONNECTION_LIMIT, (unsigned int) 1, 889 MHD_OPTION_PER_IP_CONNECTION_LIMIT, (unsigned int) 1,
889 MHD_OPTION_CONNECTION_TIMEOUT, (unsigned int) 16, 890 MHD_OPTION_CONNECTION_TIMEOUT, (unsigned int) 16,
891 /* FIXME: set correct limit */
890 MHD_OPTION_CONNECTION_MEMORY_LIMIT, (size_t) (16 * 1024), 892 MHD_OPTION_CONNECTION_MEMORY_LIMIT, (size_t) (16 * 1024),
891 MHD_OPTION_NOTIFY_COMPLETED, &requestCompletedCallback, NULL, 893 MHD_OPTION_NOTIFY_COMPLETED, &requestCompletedCallback, NULL,
892 MHD_OPTION_END); 894 MHD_OPTION_END);