diff options
author | Roger Dingledine <arma@torproject.org> | 2008-02-19 22:01:45 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2008-02-19 22:01:45 +0000 |
commit | 23e4c849c962392df5d54adf9eae97d3681860d5 (patch) | |
tree | 32685bdf14013cff2c0cf97c2c5f9b5fe056c428 /src/or/rephist.c | |
parent | da7f0315e64038b00845d947d857d5b6cd279d7e (diff) | |
download | tor-23e4c849c962392df5d54adf9eae97d3681860d5.tar.gz tor-23e4c849c962392df5d54adf9eae97d3681860d5.zip |
resolve another edge case in staying dormant
svn:r13586
Diffstat (limited to 'src/or/rephist.c')
-rw-r--r-- | src/or/rephist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/rephist.c b/src/or/rephist.c index 429cd0e68e..90198cb43a 100644 --- a/src/or/rephist.c +++ b/src/or/rephist.c @@ -1546,8 +1546,8 @@ rep_hist_circbuilding_dormant(time_t now) return 0; /* see if we'll still need to build testing circuits */ -//XXX020 actually, is it orport_reachable or still-doing-bandwidth-tests? - if (server_mode(get_options()) && !check_whether_orport_reachable()) + if (server_mode(get_options()) && + (!check_whether_orport_reachable() || !circuit_enough_testing_circs())) return 0; if (!check_whether_dirport_reachable()) return 0; |