diff options
author | Mike Perry <mikeperry-git@torproject.org> | 2019-05-15 04:42:28 +0000 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2019-05-15 16:44:59 +0300 |
commit | d44e3e57b0904259041fa19a2fe14639ce476135 (patch) | |
tree | 1134f1c8a00b03d4794b2a2c280b9b99960308d3 /src/core/or/circuituse.c | |
parent | 43d41194546dbf6a634648d592e97ccd10b04fda (diff) | |
download | tor-d44e3e57b0904259041fa19a2fe14639ce476135.tar.gz tor-d44e3e57b0904259041fa19a2fe14639ce476135.zip |
Bug 28780: Add purpose for keeping padding circuits open
Diffstat (limited to 'src/core/or/circuituse.c')
-rw-r--r-- | src/core/or/circuituse.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/or/circuituse.c b/src/core/or/circuituse.c index 226295425e..bdab476837 100644 --- a/src/core/or/circuituse.c +++ b/src/core/or/circuituse.c @@ -1514,6 +1514,7 @@ circuit_expire_old_circuits_clientside(void) circ->purpose == CIRCUIT_PURPOSE_C_MEASURE_TIMEOUT || circ->purpose == CIRCUIT_PURPOSE_S_ESTABLISH_INTRO || circ->purpose == CIRCUIT_PURPOSE_TESTING || + circ->purpose == CIRCUIT_PURPOSE_C_CIRCUIT_PADDING || (circ->purpose >= CIRCUIT_PURPOSE_C_INTRODUCING && circ->purpose <= CIRCUIT_PURPOSE_C_REND_READY_INTRO_ACKED) || circ->purpose == CIRCUIT_PURPOSE_S_CONNECT_REND) { |