diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-07-13 13:57:47 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-07-13 13:57:47 +0000 |
commit | 13a3089d561ed7332da25a7c461cdcc633c6b855 (patch) | |
tree | 42d2232f109fae49f44174b171199964a1379918 /src/hostlist/gnunet-daemon-hostlist_server.c | |
parent | 3a0ad24f06e4c3c0564237fb546e58bdd4f00e6a (diff) | |
download | gnunet-13a3089d561ed7332da25a7c461cdcc633c6b855.tar.gz gnunet-13a3089d561ed7332da25a7c461cdcc633c6b855.zip |
raise low limits, as they were they are bound to cause problems with reverse-proxy setups
Diffstat (limited to 'src/hostlist/gnunet-daemon-hostlist_server.c')
-rw-r--r-- | src/hostlist/gnunet-daemon-hostlist_server.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/hostlist/gnunet-daemon-hostlist_server.c b/src/hostlist/gnunet-daemon-hostlist_server.c index 56395df02..5cc172bdc 100644 --- a/src/hostlist/gnunet-daemon-hostlist_server.c +++ b/src/hostlist/gnunet-daemon-hostlist_server.c | |||
@@ -394,9 +394,7 @@ access_handler_callback (void *cls, | |||
394 | if (NULL == *con_cls) | 394 | if (NULL == *con_cls) |
395 | { | 395 | { |
396 | (*con_cls) = &dummy; | 396 | (*con_cls) = &dummy; |
397 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 397 | return MHD_YES; |
398 | "Sending 100 CONTINUE reply\n"); | ||
399 | return MHD_YES; /* send 100 continue */ | ||
400 | } | 398 | } |
401 | if (0 != *upload_data_size) | 399 | if (0 != *upload_data_size) |
402 | { | 400 | { |
@@ -861,9 +859,9 @@ GNUNET_HOSTLIST_server_start (const struct GNUNET_CONFIGURATION_Handle *c, | |||
861 | &accept_policy_callback, NULL, | 859 | &accept_policy_callback, NULL, |
862 | &access_handler_callback, NULL, | 860 | &access_handler_callback, NULL, |
863 | MHD_OPTION_CONNECTION_LIMIT, | 861 | MHD_OPTION_CONNECTION_LIMIT, |
864 | (unsigned int) 16, | 862 | (unsigned int) 128, |
865 | MHD_OPTION_PER_IP_CONNECTION_LIMIT, | 863 | MHD_OPTION_PER_IP_CONNECTION_LIMIT, |
866 | (unsigned int) 1, | 864 | (unsigned int) 32, |
867 | MHD_OPTION_CONNECTION_TIMEOUT, | 865 | MHD_OPTION_CONNECTION_TIMEOUT, |
868 | (unsigned int) 16, | 866 | (unsigned int) 16, |
869 | MHD_OPTION_CONNECTION_MEMORY_LIMIT, | 867 | MHD_OPTION_CONNECTION_MEMORY_LIMIT, |
@@ -876,9 +874,9 @@ GNUNET_HOSTLIST_server_start (const struct GNUNET_CONFIGURATION_Handle *c, | |||
876 | &accept_policy_callback, NULL, | 874 | &accept_policy_callback, NULL, |
877 | &access_handler_callback, NULL, | 875 | &access_handler_callback, NULL, |
878 | MHD_OPTION_CONNECTION_LIMIT, | 876 | MHD_OPTION_CONNECTION_LIMIT, |
879 | (unsigned int) 16, | 877 | (unsigned int) 128, |
880 | MHD_OPTION_PER_IP_CONNECTION_LIMIT, | 878 | MHD_OPTION_PER_IP_CONNECTION_LIMIT, |
881 | (unsigned int) 1, | 879 | (unsigned int) 32, |
882 | MHD_OPTION_CONNECTION_TIMEOUT, | 880 | MHD_OPTION_CONNECTION_TIMEOUT, |
883 | (unsigned int) 16, | 881 | (unsigned int) 16, |
884 | MHD_OPTION_CONNECTION_MEMORY_LIMIT, | 882 | MHD_OPTION_CONNECTION_MEMORY_LIMIT, |