when we fail three times to resolve or connect, we were telling the

user it was because we failed to resolve.


svn:r5620
This commit is contained in:
Roger Dingledine 2005-12-19 21:56:43 +00:00
parent 0c455a427c
commit bb4662365b

View File

@ -713,8 +713,8 @@ connection_edge_process_end_not_open(
return 0; return 0;
/* else, conn will get closed below */ /* else, conn will get closed below */
} else { } else {
notice(LD_APP,"Have tried resolving address '%s' at %d different " notice(LD_APP,"Have tried resolving or connecting to address '%s' "
"places. Giving up.", "at %d different places. Giving up.",
safe_str(conn->socks_request->address), MAX_RESOLVE_FAILURES); safe_str(conn->socks_request->address), MAX_RESOLVE_FAILURES);
/* clear the failures, so it will have a full try next time */ /* clear the failures, so it will have a full try next time */
client_dns_clear_failures(conn->socks_request->address); client_dns_clear_failures(conn->socks_request->address);