diff options
author | David Goulet <dgoulet@torproject.org> | 2017-08-24 09:31:30 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2017-08-24 13:03:29 -0400 |
commit | e546ac6b32d5478f50644ca8f1eac0a66513fe8d (patch) | |
tree | fdf1837e33a6c0413ef20d9c8895c7f0d27c52ab | |
parent | a1125625449617ef427d8816f6e0174806e2d947 (diff) | |
download | tor-e546ac6b32d5478f50644ca8f1eac0a66513fe8d.tar.gz tor-e546ac6b32d5478f50644ca8f1eac0a66513fe8d.zip |
circuit: Consider v3 hidden service circuit in circuit_expire_building()
For a ready v3 rendezvous circuit, consider it so we don't expire.
Signed-off-by: David Goulet <dgoulet@torproject.org>
-rw-r--r-- | src/or/circuituse.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c index 2472ac5452..570b05e572 100644 --- a/src/or/circuituse.c +++ b/src/or/circuituse.c @@ -651,6 +651,7 @@ circuit_expire_building(void) * because that's set when they switch purposes */ if (TO_ORIGIN_CIRCUIT(victim)->rend_data || + TO_ORIGIN_CIRCUIT(victim)->hs_ident || victim->timestamp_dirty > cutoff.tv_sec) continue; break; |