diff options
author | Roger Dingledine <arma@torproject.org> | 2005-08-15 03:35:15 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-08-15 03:35:15 +0000 |
commit | 3728011f3680fc62e3af959f24f176afa7e3eb74 (patch) | |
tree | 48f4836f656bb0cfb5034374305593104e620436 /src/or/relay.c | |
parent | f57d062d9c4fed001bb6dcd40d122de8d1368e0a (diff) | |
download | tor-3728011f3680fc62e3af959f24f176afa7e3eb74.tar.gz tor-3728011f3680fc62e3af959f24f176afa7e3eb74.zip |
after failing from resolve failed or misc, reset the num failures.
svn:r4780
Diffstat (limited to 'src/or/relay.c')
-rw-r--r-- | src/or/relay.c | 2 |
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: |