diff options
author | Roger Dingledine <arma@torproject.org> | 2005-12-28 07:20:33 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-12-28 07:20:33 +0000 |
commit | c1145138ead3252ced1cd9b365521e572bd7ad54 (patch) | |
tree | abbad196d48c23e4af1a370ded7019aaac57754c /src/or/circuitbuild.c | |
parent | 60cd03069a34f912878218d492591f342dd412cb (diff) | |
download | tor-c1145138ead3252ced1cd9b365521e572bd7ad54.tar.gz tor-c1145138ead3252ced1cd9b365521e572bd7ad54.zip |
but only close it if we have marked an earlier helper as up.
that way we don't close it too needlessly.
svn:r5671
Diffstat (limited to 'src/or/circuitbuild.c')
-rw-r--r-- | src/or/circuitbuild.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c index da87ca48c8..154f687f59 100644 --- a/src/or/circuitbuild.c +++ b/src/or/circuitbuild.c @@ -1957,12 +1957,12 @@ helper_node_set_status(const char *digest, int succeeded) * helpers another try too, and close this connection so * we don't use it before we've given the others a shot. */ helper->made_contact = 1; - refuse_conn = 1; SMARTLIST_FOREACH(helper_nodes, helper_node_t *, h, { routerinfo_t *r = router_get_by_digest(h->identity); if (h->made_contact) { h->down_since = 0; + refuse_conn = 1; if (r) r->is_running = 1; } if (h == helper) |