• David Goulet's avatar
    circuit: Don't timeout opened C_INTRODUCING circuit · 981bb605
    David Goulet authored and Nick Mathewson's avatar Nick Mathewson committed
    
    
    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's avatarDavid Goulet <dgoulet@torproject.org>
    981bb605
bug23681 315 Bytes