Make clients try fallbacks before authorities
commitc21cfd28f43a969229ede02e20c6b554c1b88aae
authorteor <teor2345@gmail.com>
Fri, 26 May 2017 06:16:37 +0000 (26 16:16 +1000)
committerNick Mathewson <nickm@torproject.org>
Fri, 7 Jul 2017 17:18:04 +0000 (7 13:18 -0400)
tree2062691f3f8ade9d982a80f6a9743b8bbfd84461
parentec61ae59a5d009a9e80f3bfa9a2aa5f5dfa05551
Make clients try fallbacks before authorities

Make clients wait for 6 seconds before trying to download their
consensus from an authority.

Fixes bug 17750, bugfix on 0.2.8.1-alpha.
changes/bug17750 [new file with mode: 0644]
src/or/directory.c
src/or/directory.h
src/test/test_dir.c