Log when we retry a directory connection

svn:r3258
This commit is contained in:
Nick Mathewson 2005-01-03 21:14:09 +00:00
parent 0c4186d6ee
commit d1fc7ad94b

View File

@ -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 */);
} }