[or-cvs] r13586: resolve another edge case in staying dormant (tor/trunk/src/or)

arma at seul.org arma at seul.org
Tue Feb 19 22:01:45 UTC 2008


Author: arma
Date: 2008-02-19 17:01:45 -0500 (Tue, 19 Feb 2008)
New Revision: 13586

Modified:
   tor/trunk/src/or/rephist.c
Log:
resolve another edge case in staying dormant


Modified: tor/trunk/src/or/rephist.c
===================================================================
--- tor/trunk/src/or/rephist.c	2008-02-19 21:41:43 UTC (rev 13585)
+++ tor/trunk/src/or/rephist.c	2008-02-19 22:01:45 UTC (rev 13586)
@@ -1546,8 +1546,8 @@
     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;



More information about the tor-commits mailing list