[tor-commits] [torspec/master] Clarify GETINFO status/reachability-succeeded/dir with no DirPort

nickm at torproject.org nickm at torproject.org
Wed May 4 20:24:12 UTC 2016


commit 56b3ef3d71168b76779d9b469955db5deb72e49e
Author: teor (Tim Wilson-Brown) <teor2345 at gmail.com>
Date:   Wed Apr 20 14:26:08 2016 +1000

    Clarify GETINFO status/reachability-succeeded/dir with no DirPort
    
    It returns 1 when there's no need for a reachability check.
---
 control-spec.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/control-spec.txt b/control-spec.txt
index a3c1647..9ce418e 100644
--- a/control-spec.txt
+++ b/control-spec.txt
@@ -773,6 +773,8 @@
       0 or 1, depending on whether we've found our ORPort reachable.
     "status/reachability-succeeded/dir"
       0 or 1, depending on whether we've found our DirPort reachable.
+      1 if there is no DirPort, and therefore no need for a reachability
+      check.
     "status/reachability-succeeded"
       "OR=" ("0"/"1") SP "DIR=" ("0"/"1")
       Combines status/reachability-succeeded/*; controllers MUST ignore





More information about the tor-commits mailing list