gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r36063 - gnunet/src/hostlist


From: gnunet
Subject: [GNUnet-SVN] r36063 - gnunet/src/hostlist
Date: Mon, 13 Jul 2015 15:57:47 +0200

Author: grothoff
Date: 2015-07-13 15:57:47 +0200 (Mon, 13 Jul 2015)
New Revision: 36063

Modified:
   gnunet/src/hostlist/gnunet-daemon-hostlist_server.c
Log:
raise low limits, as they were they are bound to cause problems with 
reverse-proxy setups

Modified: gnunet/src/hostlist/gnunet-daemon-hostlist_server.c
===================================================================
--- gnunet/src/hostlist/gnunet-daemon-hostlist_server.c 2015-07-13 13:18:03 UTC 
(rev 36062)
+++ gnunet/src/hostlist/gnunet-daemon-hostlist_server.c 2015-07-13 13:57:47 UTC 
(rev 36063)
@@ -394,9 +394,7 @@
   if (NULL == *con_cls)
   {
     (*con_cls) = &dummy;
-    GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
-                "Sending 100 CONTINUE reply\n");
-    return MHD_YES;             /* send 100 continue */
+    return MHD_YES;
   }
   if (0 != *upload_data_size)
   {
@@ -861,9 +859,9 @@
                                        &accept_policy_callback, NULL,
                                        &access_handler_callback, NULL,
                                        MHD_OPTION_CONNECTION_LIMIT,
-                                       (unsigned int) 16,
+                                       (unsigned int) 128,
                                        MHD_OPTION_PER_IP_CONNECTION_LIMIT,
-                                       (unsigned int) 1,
+                                       (unsigned int) 32,
                                        MHD_OPTION_CONNECTION_TIMEOUT,
                                        (unsigned int) 16,
                                        MHD_OPTION_CONNECTION_MEMORY_LIMIT,
@@ -876,9 +874,9 @@
                                        &accept_policy_callback, NULL,
                                        &access_handler_callback, NULL,
                                        MHD_OPTION_CONNECTION_LIMIT,
-                                       (unsigned int) 16,
+                                       (unsigned int) 128,
                                        MHD_OPTION_PER_IP_CONNECTION_LIMIT,
-                                       (unsigned int) 1,
+                                       (unsigned int) 32,
                                        MHD_OPTION_CONNECTION_TIMEOUT,
                                        (unsigned int) 16,
                                        MHD_OPTION_CONNECTION_MEMORY_LIMIT,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]