summaryrefslogtreecommitdiff
path: root/src/or/hs_circuitmap.c
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2017-03-27 15:08:18 +0200
committerNick Mathewson <nickm@torproject.org>2017-03-27 15:39:26 +0200
commitef4c10fb42e796a7a1662b5f1db27d10347e89af (patch)
tree4c21e02f8607921531fa3ca39bab7a674ba0dca8 /src/or/hs_circuitmap.c
parenta5130de43297373ec93c3623689e42cc1384b3f9 (diff)
downloadtor-ef4c10fb42e796a7a1662b5f1db27d10347e89af.tar.gz
tor-ef4c10fb42e796a7a1662b5f1db27d10347e89af.zip
Fix max sampled size logic when in bridge mode.
When calculating max sampled size, Tor would only count the number of bridges in torrc, without considering that our state file might already have sampled bridges in it. This caused problems when people swap bridges, since the following error would trigger: [warn] Not expanding the guard sample any further; just hit the maximum sample threshold of 1
Diffstat (limited to 'src/or/hs_circuitmap.c')
0 files changed, 0 insertions, 0 deletions