summaryrefslogtreecommitdiff
path: root/src/feature
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2022-10-19 14:41:48 -0400
committerDavid Goulet <dgoulet@torproject.org>2022-10-26 14:56:45 -0400
commit59008c6f515cb63b12061a24a9c4ddf0dc018e7f (patch)
treefd709dd7593bed142cd56d33ad2599f768db602d /src/feature
parenta317326aae5dfdd63fced907ffcf822563dff729 (diff)
downloadtor-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>
Diffstat (limited to 'src/feature')
-rw-r--r--src/feature/hs/hs_client.c2
1 files changed, 1 insertions, 1 deletions
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);