Browse Source

Patch from atagar to fix control-spec

Specifically, admit that the "newconsensus" event exists, and
status/reachability has secretly been status/reachability-succeeded
all along, but nobody used it so we didn't notice.
Roger Dingledine 15 years ago
parent
commit
6bb10a28fb
1 changed files with 6 additions and 6 deletions
  1. 6 6
      doc/spec/control-spec.txt

+ 6 - 6
doc/spec/control-spec.txt

@@ -219,7 +219,7 @@
          "INFO" / "NOTICE" / "WARN" / "ERR" / "NEWDESC" / "ADDRMAP" /
          "INFO" / "NOTICE" / "WARN" / "ERR" / "NEWDESC" / "ADDRMAP" /
          "AUTHDIR_NEWDESCS" / "DESCCHANGED" / "STATUS_GENERAL" /
          "AUTHDIR_NEWDESCS" / "DESCCHANGED" / "STATUS_GENERAL" /
          "STATUS_CLIENT" / "STATUS_SERVER" / "GUARD" / "NS" / "STREAM_BW" /
          "STATUS_CLIENT" / "STATUS_SERVER" / "GUARD" / "NS" / "STREAM_BW" /
-         "CLIENTS_SEEN"
+         "CLIENTS_SEEN" / "NEWCONSENSUS"
 
 
   Any events *not* listed in the SETEVENTS line are turned off; thus, sending
   Any events *not* listed in the SETEVENTS line are turned off; thus, sending
   SETEVENTS with an empty body turns off all event reporting.
   SETEVENTS with an empty body turns off all event reporting.
@@ -562,14 +562,14 @@
       states. See Section 4.1.10 for explanations. (Only a few of the
       states. See Section 4.1.10 for explanations. (Only a few of the
       status events are available as getinfo's currently. Let us know if
       status events are available as getinfo's currently. Let us know if
       you want more exposed.)
       you want more exposed.)
-    "status/reachability/or"
+    "status/reachability-succeeded/or"
       0 or 1, depending on whether we've found our ORPort reachable.
       0 or 1, depending on whether we've found our ORPort reachable.
-    "status/reachability/dir"
+    "status/reachability-succeeded/dir"
       0 or 1, depending on whether we've found our DirPort reachable.
       0 or 1, depending on whether we've found our DirPort reachable.
-    "status/reachability"
+    "status/reachability-succeeded"
       "OR=" ("0"/"1") SP "DIR=" ("0"/"1")
       "OR=" ("0"/"1") SP "DIR=" ("0"/"1")
-      Combines status/reachability/*; controllers MUST ignore unrecognized
+      Combines status/reachability-succeeded/*; controllers MUST ignore
-      elements in this entry.
+      unrecognized elements in this entry.
     "status/bootstrap-phase"
     "status/bootstrap-phase"
       Returns the most recent bootstrap phase status event
       Returns the most recent bootstrap phase status event
       sent. Specifically, it returns a string starting with either
       sent. Specifically, it returns a string starting with either