mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 20:33:31 +01:00
Tighten accepted circwindow parameters
Based on discussion in bug 2317, these values seem to be sane.
This commit is contained in:
parent
b06617c948
commit
0df51a7f39
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user