diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-01-24 12:56:10 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-01-24 12:56:10 -0500 |
commit | bb21d14255c2f5c94173dda2ba30c83478044779 (patch) | |
tree | f26a077a6e300fec1582d7136dc77e82178041fd /src/or/channeltls.h | |
parent | 35115496511f64c08849a039c926910739467169 (diff) | |
download | tor-bb21d14255c2f5c94173dda2ba30c83478044779.tar tor-bb21d14255c2f5c94173dda2ba30c83478044779.tar.gz |
Apply StrictNodes to hidden service directories early
Previously, we would sometimes decide in directory_get_from_hs_dir()
to connect to an excluded node, and then later in
directory_initiate_command_routerstatus_rend() notice that it was
excluded and strictnodes was set, and catch it as a stopgap.
Additionally, this patch preferentially tries to fetch from
non-excluded nodes even when StrictNodes is off.
Fix for bug #10722. Bugfix on 0.2.0.10-alpha (the v2 hidserv directory
system was introduced in e136f00ca). Reported by "mr-4".
Diffstat (limited to 'src/or/channeltls.h')
0 files changed, 0 insertions, 0 deletions