summaryrefslogtreecommitdiff
path: root/src/or/rendcache.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-11-14 09:01:21 -0500
committerNick Mathewson <nickm@torproject.org>2017-11-20 08:33:44 -0500
commit981bb60575953fbf0e6ca03ccf0a8a476e6644e0 (patch)
tree51470d2c3cf403be34c27679a4330b1be763a622 /src/or/rendcache.c
parent53c3174ee43c3f54f8180be8256180f6f0d24c0d (diff)
downloadtor-981bb60575953fbf0e6ca03ccf0a8a476e6644e0.tar.gz
tor-981bb60575953fbf0e6ca03ccf0a8a476e6644e0.zip
circuit: Don't timeout opened C_INTRODUCING circuit
A circuit with purpose C_INTRODUCING means that its state is opened but the INTRODUCE1 cell hasn't been sent yet. We shouldn't consider that circuit when looking for timing out "building circuit". We have to wait on the rendezvous circuit to be opened before sending that cell so the intro circuit needs to be kept alive for at least that period of time. This patch makes that the purpose C_INTRODUCING is ignored in the circuit_expire_building() which means that we let the circuit idle timeout take care of it if we end up never using it. Fixes #23681 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/rendcache.c')
0 files changed, 0 insertions, 0 deletions