diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2011-01-15 19:39:27 +0100 |
---|---|---|
committer | Sebastian Hahn <sebastian@torproject.org> | 2011-01-15 19:42:17 +0100 |
commit | 0df51a7f39599aa799fd91f12e13e404a490e603 (patch) | |
tree | be4feadf43ea65edef605f90b7f945f761e9abbc | |
parent | b06617c9481ff577e2f0fed4264c80a718f98c29 (diff) | |
download | tor-0df51a7f39599aa799fd91f12e13e404a490e603.tar.gz tor-0df51a7f39599aa799fd91f12e13e404a490e603.zip |
Tighten accepted circwindow parameters
Based on discussion in bug 2317, these values seem to be sane.
-rw-r--r-- | src/or/or.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/or.h b/src/or/or.h index acca61f7d3..22c8498b66 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -765,8 +765,8 @@ typedef enum { /** Initial value for both sides of a circuit transmission window when the * circuit is initialized. Measured in cells. */ #define CIRCWINDOW_START 1000 -#define CIRCWINDOW_START_MIN 1 -#define CIRCWINDOW_START_MAX 100000 +#define CIRCWINDOW_START_MIN 100 +#define CIRCWINDOW_START_MAX 1000 /** Amount to increment a circuit window when we get a circuit SENDME. */ #define CIRCWINDOW_INCREMENT 100 /** Initial value on both sides of a stream transmission window when the |