diff options
author | David Goulet <dgoulet@torproject.org> | 2022-10-19 14:41:48 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2022-10-26 14:56:45 -0400 |
commit | 59008c6f515cb63b12061a24a9c4ddf0dc018e7f (patch) | |
tree | fd709dd7593bed142cd56d33ad2599f768db602d | |
parent | a317326aae5dfdd63fced907ffcf822563dff729 (diff) | |
download | tor-59008c6f515cb63b12061a24a9c4ddf0dc018e7f.tar.gz tor-59008c6f515cb63b12061a24a9c4ddf0dc018e7f.zip |
hs: Change the error for a collapsing client circuit
Change it to an "unreachable" error so the intro point can be retried
and not flagged as a failure and never retried again.
Closes #40692
Signed-off-by: David Goulet <dgoulet@torproject.org>
-rw-r--r-- | changes/ticket40692 | 3 | ||||
-rw-r--r-- | src/feature/hs/hs_client.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/changes/ticket40692 b/changes/ticket40692 new file mode 100644 index 0000000000..8405486115 --- /dev/null +++ b/changes/ticket40692 @@ -0,0 +1,3 @@ + o Minor bugfixes (onion service client): + - A collapsing onion service circuit should be seen as an "unreachable" + error so it can be retried. Fixes bug 40692; bugfix on 0.3.5.1-alpha. diff --git a/src/feature/hs/hs_client.c b/src/feature/hs/hs_client.c index d08b518d94..a50598d9f3 100644 --- a/src/feature/hs/hs_client.c +++ b/src/feature/hs/hs_client.c @@ -1964,7 +1964,7 @@ void hs_client_circuit_cleanup_on_free(const circuit_t *circ) { bool has_timed_out; - rend_intro_point_failure_t failure = INTRO_POINT_FAILURE_GENERIC; + rend_intro_point_failure_t failure = INTRO_POINT_FAILURE_UNREACHABLE; const origin_circuit_t *orig_circ = NULL; tor_assert(circ); |