diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-09-18 10:03:57 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-09-18 10:03:57 -0400 |
commit | 781ab9eea49b07b1925d7d8dcbad06348896344e (patch) | |
tree | 6a5ec10c59617467e25863fb911689625f2467dd /src/feature/relay/circuitbuild_relay.c | |
parent | 404c224c711714f014288c79257c4bfd3880905c (diff) | |
download | tor-781ab9eea49b07b1925d7d8dcbad06348896344e.tar.gz tor-781ab9eea49b07b1925d7d8dcbad06348896344e.zip |
Add flag for whether an OR conn "counts" for bootstrap tracking
We set this flag if we've launched the connection in order to
satisfy an origin circuit, or when we decide the connection _would_
satisfy an origin circuit. These are the only or_connections we
want to consider for bootstrapping: other or_connections are opened
because of client EXTEND requests, and they may succeed or fail
because of the clients' confusion or misconfiguration.
Closes #25061.
Diffstat (limited to 'src/feature/relay/circuitbuild_relay.c')
-rw-r--r-- | src/feature/relay/circuitbuild_relay.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/feature/relay/circuitbuild_relay.c b/src/feature/relay/circuitbuild_relay.c index 64f3c341ae..289a5be557 100644 --- a/src/feature/relay/circuitbuild_relay.c +++ b/src/feature/relay/circuitbuild_relay.c @@ -475,6 +475,7 @@ circuit_extend(struct cell_t *cell, struct circuit_t *circ) &ec.ed_pubkey, ipv4_valid ? &ec.orport_ipv4.addr : NULL, ipv6_valid ? &ec.orport_ipv6.addr : NULL, + false, &msg, &should_launch); |