mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 15:10:48 +01:00
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>
This commit is contained in:
parent
a112562544
commit
e546ac6b32
1 changed files with 1 additions and 0 deletions
|
@ -651,6 +651,7 @@ circuit_expire_building(void)
|
||||||
* because that's set when they switch purposes
|
* because that's set when they switch purposes
|
||||||
*/
|
*/
|
||||||
if (TO_ORIGIN_CIRCUIT(victim)->rend_data ||
|
if (TO_ORIGIN_CIRCUIT(victim)->rend_data ||
|
||||||
|
TO_ORIGIN_CIRCUIT(victim)->hs_ident ||
|
||||||
victim->timestamp_dirty > cutoff.tv_sec)
|
victim->timestamp_dirty > cutoff.tv_sec)
|
||||||
continue;
|
continue;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Reference in a new issue