aboutsummaryrefslogtreecommitdiff
path: root/src/or/relay.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/relay.c')
-rw-r--r--src/or/relay.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/relay.c b/src/or/relay.c
index 682fe82e17..c2dada534b 100644
--- a/src/or/relay.c
+++ b/src/or/relay.c
@@ -678,6 +678,8 @@ connection_edge_process_end_not_open(
} else {
log_fn(LOG_NOTICE,"Have tried resolving address '%s' at %d different places. Giving up.",
safe_str(conn->socks_request->address), MAX_RESOLVE_FAILURES);
+ /* clear the failures, so it will have a full try next time */
+ client_dns_clear_failures(conn->socks_request->address);
}
break;
case END_STREAM_REASON_HIBERNATING: