Fix If-Modified-Since in rapidly updating Tor networks

When V3AuthVotingInterval is low, decrease the delay on the
If-Modified-Since header passed to directory servers.
This allows us to obtain consensuses promptly when the consensus
interval is very short.

This assists in bootstrapping a testing Tor network.

Fixes bugs 13718 & 13963.
This commit is contained in:
teor
2014-12-20 21:59:17 +11:00
parent 1ee41b3eef
commit 8a8797f1e4
2 changed files with 30 additions and 4 deletions
@@ -0,0 +1,7 @@
o Minor bugfixes:
- When V3AuthVotingInterval is low, decrease the delay on the
If-Modified-Since header passed to directory servers.
This allows us to obtain consensuses promptly when the consensus
interval is very short.
This assists in bootstrapping a testing Tor network.
Fixes bugs 13718 & 13963.