mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 20:33:31 +01:00
Log when we retry a directory connection
svn:r3258
This commit is contained in:
parent
0c4186d6ee
commit
d1fc7ad94b
@ -229,7 +229,8 @@ connection_dir_connect_failed(connection_t *conn)
|
|||||||
router_mark_as_down(conn->identity_digest); /* don't try him again */
|
router_mark_as_down(conn->identity_digest); /* don't try him again */
|
||||||
if (conn->purpose == DIR_PURPOSE_FETCH_DIR ||
|
if (conn->purpose == DIR_PURPOSE_FETCH_DIR ||
|
||||||
conn->purpose == DIR_PURPOSE_FETCH_RUNNING_LIST) {
|
conn->purpose == DIR_PURPOSE_FETCH_RUNNING_LIST) {
|
||||||
log_fn(LOG_INFO, "Giving up on directory server at '%s'; retrying");
|
log_fn(LOG_INFO, "Giving up on directory server at '%s'; retrying",
|
||||||
|
conn->address);
|
||||||
directory_get_from_dirserver(conn->purpose, NULL,
|
directory_get_from_dirserver(conn->purpose, NULL,
|
||||||
0 /* don't retry_if_no_servers */);
|
0 /* don't retry_if_no_servers */);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user