diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-06-14 01:35:21 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-06-14 01:35:21 -0400 |
commit | 9e8c104ab879f979d313d1f1cef4c1480f431ceb (patch) | |
tree | 760ae90a44e4b7e19916924232a90a4c08295d10 /src | |
parent | 4cce58d3c22c65350fffb3c4bc4dccd73e0193d7 (diff) | |
download | tor-9e8c104ab879f979d313d1f1cef4c1480f431ceb.tar tor-9e8c104ab879f979d313d1f1cef4c1480f431ceb.tar.gz |
Increase the limit so leaky pipe might work
Diffstat (limited to 'src')
-rw-r--r-- | src/or/or.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/or.h b/src/or/or.h index 2565777c7..83bf8c890 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -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 |