summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-06-14 01:37:22 -0400
committerNick Mathewson <nickm@torproject.org>2013-06-14 01:37:22 -0400
commit79cdf81ec12c4f692db7c88e5f94a8419dfcea62 (patch)
tree2fd141a96400eacb06b2744b7ca78cea2cf7c997
parent418c2845d03bf425ac2a0a9758b89e151dc3b9aa (diff)
downloadtor-79cdf81ec12c4f692db7c88e5f94a8419dfcea62.tar.gz
tor-79cdf81ec12c4f692db7c88e5f94a8419dfcea62.zip
Increase the limit so leaky pipe might work
-rw-r--r--src/or/or.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 36b67789e3..935da538a1 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