mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
bugfix: when we try to determine the reachability of our dirport,
and it doesn't work, don't freak out and mark ourselves as down and try somewhere else. just calmly fail. svn:r5050
This commit is contained in:
@@ -269,6 +269,8 @@ directory_initiate_command_trusted_dir(trusted_dir_server_t *dirserv,
|
||||
void
|
||||
connection_dir_request_failed(connection_t *conn)
|
||||
{
|
||||
if (router_digest_is_me(conn->identity_digest))
|
||||
return; /* this was a test fetch. don't retry. */
|
||||
router_mark_as_down(conn->identity_digest); /* don't try him again */
|
||||
if (conn->purpose == DIR_PURPOSE_FETCH_DIR ||
|
||||
conn->purpose == DIR_PURPOSE_FETCH_RUNNING_LIST) {
|
||||
|
||||
Reference in New Issue
Block a user