diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-04-16 11:41:45 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-04-22 19:42:28 -0400 |
commit | 7915efd1b83e45c53eb06cfb384eed024df440c0 (patch) | |
tree | 8f944fbb37ca36031e25466e84bddabcb82abbd4 /src/or/circuitbuild.h | |
parent | 388d217c40fea4dfd9c2782ae6036126258fc292 (diff) | |
download | tor-7915efd1b83e45c53eb06cfb384eed024df440c0.tar.gz tor-7915efd1b83e45c53eb06cfb384eed024df440c0.zip |
Use router_crn_flags in more places, to pass direct-connect flag
In order to fix 25691 and 25692, we need to pass the "direct_conn"
flag to more places -- particularly when choosing single-hop
tunnels. The right way to do this involves having a couple more
functions accept router_crn_flags_t, rather than a big list of
boolean arguments.
This commit also makes sure that choose_good_exit_server_general()
honors the direct_conn flag, to fix 25691 and 25692.
Diffstat (limited to 'src/or/circuitbuild.h')
0 files changed, 0 insertions, 0 deletions