Forráskód Böngészése

r9003@Kushana: nickm | 2006-09-29 10:36:05 -0400
Add DESCCHANGED event to control-spec; note that GETINFO dir/* has in fact been implemented.


svn:r8531

Nick Mathewson 19 éve
szülő
commit
623fc8c0e1
1 módosított fájl, 14 hozzáadás és 7 törlés
  1. 14 7
      doc/control-spec.txt

+ 14 - 7
doc/control-spec.txt

@@ -173,7 +173,7 @@ $Id$
 
      EventCode = "CIRC" / "STREAM" / "ORCONN" / "BW" / "DEBUG" /
          "INFO" / "NOTICE" / "WARN" / "ERR" / "NEWDESC" / "ADDRMAP" /
-         "AUTHDIR_NEWDESCS"
+         "AUTHDIR_NEWDESCS" / "DESCCHANGED"
 
   Any events *not* listed in the SETEVENTS line are turned off; thus, sending
   SETEVENTS with an empty body turns off all event reporting.
@@ -419,12 +419,12 @@ $Id$
     "dir/server/d/<D1>+<D2>+<D3>"
     "dir/server/authority"
     "dir/server/all"
-      [DRAFT] [Not Implemented] A series of lines listing directory
-      contents, provided according to the specification for the URLs listed
-      in Section 4.4 of dir-spec.txt.  Note that Tor MUST NOT provide
-      private information, such as descriptors for routers not marked as
-      general-purpose.  When asked for 'authority' information for which this
-      Tor is not authoritative, Tor replies with an empty string.
+      A series of lines listing directory contents, provided according to the
+      specification for the URLs listed in Section 4.4 of dir-spec.txt.  Note
+      that Tor MUST NOT provide private information, such as descriptors for
+      routers not marked as general-purpose.  When asked for 'authority'
+      information for which this Tor is not authoritative, Tor replies with
+      an empty string.
 
   Examples:
      C: GETINFO version desc/name/moria1
@@ -773,6 +773,13 @@ $Id$
      Action = "ACCEPTED" / "DROPPED" / "REJECTED"
      Message = Text
 
+4.1.9. Our descriptor changed
+
+  Syntax:
+     "650" SP "DESCCHANGED"
+
+  [First added in 0.1.2.2-alpha.]
+
 5. Implementation notes
 
 5.1. Authentication