[tor-commits] [torspec/master] Tweak description

nickm at torproject.org nickm at torproject.org
Thu Feb 2 13:51:24 UTC 2017


commit d9e76007acb3935c49778f01a858a4b84cf2bf00
Author: Nick Mathewson <nickm at torproject.org>
Date:   Thu Feb 2 08:51:18 2017 -0500

    Tweak description
---
 guard-spec.txt | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/guard-spec.txt b/guard-spec.txt
index a1e8e93..731ad97 100644
--- a/guard-spec.txt
+++ b/guard-spec.txt
@@ -473,11 +473,11 @@
       random from {USABLE_FILTERED_GUARDS}. Set its {is_pending}
       field to true.  The circuit is <usable_if_no_better_guard>.
 
-  If during the above algorithm we exhaust all sampled guards before finding a
-  reachable one, then we proceed by marking all guards as <maybe> reachable so
-  that we can keep on sampling.
+    * Otherwise, if USABLE_FILTERED_GUARDS is empty, we have exhausted
+      all the sampled guards.  In this case we proceed by marking all guards
+      as <maybe> reachable so that we can keep on sampling.
 
-  When we finally connect to a guard, we update the {last_tried_connect} time
+  Whenever we yield a guard, we update the {last_tried_connect} time
   for the guard to 'now.'
 
   In some cases (for example, when we need a certain directory feature,



More information about the tor-commits mailing list