diff options
author | Roger Dingledine <arma@torproject.org> | 2010-09-28 21:59:31 -0400 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2010-09-28 21:59:31 -0400 |
commit | 7de1caa33f025db5474dba5f7e256d28c5ab4969 (patch) | |
tree | 2fd445832e74a925ed44839ff6ae744faf168715 /src/or/circuitbuild.c | |
parent | bb22360bad4d19483ff488c9e4a0eae8616fcd81 (diff) | |
download | tor-7de1caa33f025db5474dba5f7e256d28c5ab4969.tar.gz tor-7de1caa33f025db5474dba5f7e256d28c5ab4969.zip |
Actually notice when our last entrynode goes down
Otherwise we'd never set have_minimum_dir_info to false, so the
"optimistic retry" would never trigger.
Diffstat (limited to 'src/or/circuitbuild.c')
-rw-r--r-- | src/or/circuitbuild.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c index a14ab6a46b..a9920e2bcb 100644 --- a/src/or/circuitbuild.c +++ b/src/or/circuitbuild.c @@ -4605,7 +4605,7 @@ entries_retry_helper(or_options_t *options, int act) if (ri->is_running) any_running = 1; /* some entry is both known and running */ else if (act) { /* mark it for retry */ - ri->is_running = 1; + router_set_status(ri->cache_info.identity_digest, 1); e->can_retry = 1; e->bad_since = 0; } @@ -4625,7 +4625,7 @@ entries_known_but_down(or_options_t *options) return entries_retry_helper(options, 0); } -/** Mark all down known bridges up. */ +/** Mark all down known bridges / entrynodes up. */ void entries_retry_all(or_options_t *options) { |