]> git.ipfire.org Git - thirdparty/tor.git/commit
circ: Get rid of hs_circ_has_timed_out
authorDavid Goulet <dgoulet@torproject.org>
Wed, 19 Oct 2022 19:11:11 +0000 (15:11 -0400)
committerDavid Goulet <dgoulet@torproject.org>
Wed, 26 Oct 2022 19:10:37 +0000 (15:10 -0400)
commit5b44a32c5964d78dcaf87ab9485efba4ddd8769a
treeb6802ae0157f299d76fcbdf9c93834e6bf1d2c28
parent88b5daf152edd7203989cfc0d077962a1c97623d
circ: Get rid of hs_circ_has_timed_out

Logic is too convoluted and we can't efficiently apply a specific
timeout depending on the purpose.

Remove it and instead rely on the right circuit cutoff instead of
keeping this flagged circuit open forever.

Part of #40694

Signed-off-by: David Goulet <dgoulet@torproject.org>
src/core/or/circuituse.c
src/core/or/origin_circuit_st.h
src/feature/hs/hs_circuit.c