From e546ac6b32d5478f50644ca8f1eac0a66513fe8d Mon Sep 17 00:00:00 2001 From: David Goulet Date: Thu, 24 Aug 2017 09:31:30 -0400 Subject: [PATCH] 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 --- src/or/circuituse.c | 1 + 1 file changed, 1 insertion(+) 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;