[tor-commits] [tor/maint-0.2.4] Increase the limit so leaky pipe might work

nickm at torproject.org nickm at torproject.org
Fri Jun 14 05:46:57 UTC 2013


commit 79cdf81ec12c4f692db7c88e5f94a8419dfcea62
Author: Nick Mathewson <nickm at torproject.org>
Date:   Fri Jun 14 01:37:22 2013 -0400

    Increase the limit so leaky pipe might work
---
 src/or/or.h |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/or/or.h b/src/or/or.h
index 36b6778..935da53 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -822,9 +822,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





More information about the tor-commits mailing list