aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_options.c
diff options
context:
space:
mode:
authorteor <teor2345@gmail.com>2017-09-11 13:56:35 +1000
committerNick Mathewson <nickm@torproject.org>2017-09-12 10:38:25 -0400
commit93a8ed3b83b5f20768562ca2aff4eba7aca667d8 (patch)
tree1d136ed005def091d9266d7985581c6fafe96180 /src/test/test_options.c
parent6370fb77c586e9ad68c7d1ecb95be36137cb9067 (diff)
downloadtor-93a8ed3b83b5f20768562ca2aff4eba7aca667d8.tar.gz
tor-93a8ed3b83b5f20768562ca2aff4eba7aca667d8.zip
Make clients wait to refresh bridges when they have a recent descriptor
But when clients are just starting, make them try each bridge a few times before giving up on it. These changes make the bridge download schedules more explicit: before 17750, they relied on undocumented behaviour and specific schedule entries. (And between 17750 and this fix, they were broken.) Fixes 23347, not in any released version of tor.
Diffstat (limited to 'src/test/test_options.c')
-rw-r--r--src/test/test_options.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_options.c b/src/test/test_options.c
index 5f35c47f79..a9f18c8a82 100644
--- a/src/test/test_options.c
+++ b/src/test/test_options.c
@@ -2230,6 +2230,7 @@ test_options_validate__testing(void *ignored)
ENSURE_DEFAULT(TestingServerConsensusDownloadSchedule, 3000);
ENSURE_DEFAULT(TestingClientConsensusDownloadSchedule, 3000);
ENSURE_DEFAULT(TestingBridgeDownloadSchedule, 3000);
+ ENSURE_DEFAULT(TestingBridgeBootstrapDownloadSchedule, 3000);
ENSURE_DEFAULT(TestingClientMaxIntervalWithoutRequest, 3000);
ENSURE_DEFAULT(TestingDirConnectionMaxStall, 3000);
ENSURE_DEFAULT(TestingConsensusMaxDownloadTries, 3000);