[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] [tor/master] Tighten accepted circwindow parameters
commit 0df51a7f39599aa799fd91f12e13e404a490e603
Author: Sebastian Hahn <sebastian@xxxxxxxxxxxxxx>
Date: Sat Jan 15 19:39:27 2011 +0100
Tighten accepted circwindow parameters
Based on discussion in bug 2317, these values seem to be sane.
---
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 acca61f..22c8498 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