summaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-03-18 01:24:04 +0000
committerRoger Dingledine <arma@torproject.org>2006-03-18 01:24:04 +0000
commit581795f41d3ab0be4d9e224ae5da1ee51fd6c842 (patch)
treee99d2fafb09aa3deb2de7182955a03f01ff0936c /src/or/directory.c
parentcf6ba3e76fbf628ced2977be9f35531a81dc84c9 (diff)
downloadtor-581795f41d3ab0be4d9e224ae5da1ee51fd6c842.tar.gz
tor-581795f41d3ab0be4d9e224ae5da1ee51fd6c842.zip
auth dir servers were only modifying a server's is_running field
when they created a network status. so if nobody asked for a network status, they would never discover that any servers are is_running, so they could never build a circuit. svn:r6183
Diffstat (limited to 'src/or/directory.c')
-rw-r--r--src/or/directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 6565e58171..538cbc6a3f 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -310,7 +310,7 @@ 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 */
+ router_set_status(conn->identity_digest, 0); /* don't try him again */
if (conn->purpose == DIR_PURPOSE_FETCH_DIR ||
conn->purpose == DIR_PURPOSE_FETCH_RUNNING_LIST) {
log_info(LD_DIR, "Giving up on directory server at '%s:%d'; retrying",