]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Increase the limit so leaky pipe might work
authorNick Mathewson <nickm@torproject.org>
Fri, 14 Jun 2013 05:35:21 +0000 (01:35 -0400)
committerNick Mathewson <nickm@torproject.org>
Fri, 14 Jun 2013 05:35:21 +0000 (01:35 -0400)
src/or/or.h

index 2565777c7b0f2e5a2420dba96910ecdd8697cdc1..83bf8c8900d7a5dead1667dee5cfc541dbb07ada 100644 (file)
@@ -818,9 +818,10 @@ typedef enum {
 
 /** Maximum number of queued cells on a circuit for which we are the
  * midpoint before we give up and kill it.  This must be >= circwindow
- * to avoid killing innocent circuits.
+ * to avoid killing innocent circuits, and >= circwindow*2 to give
+ * leaky-pipe a chance for being useful someday.
  */
-#define ORCIRC_MAX_MIDDLE_CELLS (11*(CIRCWINDOW_START_MAX)/10)
+#define ORCIRC_MAX_MIDDLE_CELLS (21*(CIRCWINDOW_START_MAX)/10)
 
 /* Cell commands.  These values are defined in tor-spec.txt. */
 #define CELL_PADDING 0