diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-11-07 10:55:33 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-11-07 11:01:21 -0500 |
commit | e51f105c417aff1840126fddd11875fec84c86a9 (patch) | |
tree | 9ae00a8d7068440b9f157297b031ecf56f27fb9e /src/or | |
parent | 85970f70475af7f8bd6666cbdebf5bfa3095625d (diff) | |
download | tor-e51f105c417aff1840126fddd11875fec84c86a9.tar.gz tor-e51f105c417aff1840126fddd11875fec84c86a9.zip |
Reduce multiplier to 3, per teor's recommendation on #20534
(Three _is_ a good number for anonymity!)
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/directory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index ee42e2cd9b..1f399818c4 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -3796,7 +3796,7 @@ next_random_exponential_delay(int delay, int max_delay) /* How much are we willing to add to the delay? */ int max_increment; - const int multiplier = 4; /* no more than quintuple. */ + const int multiplier = 3; /* no more than quadruple the previous delay */ if (delay && delay < (INT_MAX-1) / multiplier) { max_increment = delay * multiplier; |