diff options
author | David Goulet <dgoulet@torproject.org> | 2017-09-25 16:47:16 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2017-12-05 10:55:41 -0500 |
commit | ba63c4099a491c3f96160005f94cf3a61433c145 (patch) | |
tree | 4825b3fcf1a38422e2316816f3af92dbd71de834 /src/or/hs_intropoint.h | |
parent | 97702c69b03b19a8a6f867e56f716ce984550fa0 (diff) | |
download | tor-ba63c4099a491c3f96160005f94cf3a61433c145.tar.gz tor-ba63c4099a491c3f96160005f94cf3a61433c145.zip |
hs-v3: Don't cleanup intro point in has_closed()
The hs_service_intro_circ_has_closed() was removing intro point objects if too
many retries.
We shouldn't cleanup those objects in that function at all but rather let
cleanup_intro_points() do its job and clean it properly.
This was causing an issue in #23603.
Furthermore, this moves the logic of remembering failing intro points in the
cleanup_intro_points() function which should really be the only function to
know when to cleanup and thus when an introduction point should be remembered
as a failed one.
Fixes #23603
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_intropoint.h')
0 files changed, 0 insertions, 0 deletions