gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r6108 - GNUnet/src/transports


From: gnunet
Subject: [GNUnet-SVN] r6108 - GNUnet/src/transports
Date: Mon, 21 Jan 2008 12:01:53 -0700 (MST)

Author: grothoff
Date: 2008-01-21 12:01:53 -0700 (Mon, 21 Jan 2008)
New Revision: 6108

Modified:
   GNUnet/src/transports/http.c
Log:
do not allow one IP to dominate connection pool

Modified: GNUnet/src/transports/http.c
===================================================================
--- GNUnet/src/transports/http.c        2008-01-21 19:01:07 UTC (rev 6107)
+++ GNUnet/src/transports/http.c        2008-01-21 19:01:53 UTC (rev 6108)
@@ -2153,7 +2153,9 @@
                                      MHD_OPTION_CONNECTION_MEMORY_LIMIT,
                                      (unsigned int) 1024 * 128,
                                      MHD_OPTION_CONNECTION_LIMIT,
-                                     (unsigned int) 64,
+                                     (unsigned int) 128,
+                                     MHD_OPTION_PER_IP_CONNECTION_LIMIT,
+                                     (unsigned int) 8,
                                      MHD_OPTION_NOTIFY_COMPLETED,
                                      &requestCompletedCallback, NULL,
                                      MHD_OPTION_END);





reply via email to

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