Bridge-using clients now use their cached microdesc consensus
commitbfaded9143d127cb32407a7a58159383fa9ed333
authorRoger Dingledine <arma@torproject.org>
Sat, 1 Oct 2016 20:34:17 +0000 (1 16:34 -0400)
committerRoger Dingledine <arma@torproject.org>
Sat, 1 Oct 2016 20:34:17 +0000 (1 16:34 -0400)
tree1cfe84789182294f7a5c49495e36733197771ae5
parent53255e925c474f9d5cb30c1de4da025e6d709e9a
Bridge-using clients now use their cached microdesc consensus

Clients that use bridges were ignoring their cached microdesc-flavor
consensus files, because they only thought they should use the microdesc
flavor once they had a known-working bridge that could offer microdescs,
and at first boot no bridges are known-working.

This bug caused bridge-using clients to download a new microdesc consensus
on each startup.

Fixes bug 20269; bugfix on 0.2.3.12-alpha.
changes/bug20269 [new file with mode: 0644]
src/or/entrynodes.c
src/or/entrynodes.h
src/or/microdesc.c