Commit c91d5962 authored by Neel Chauhan's avatar Neel Chauhan
Browse files

Add StreamId to ADDRMAP entry in control-spec

parent 7e2ced13
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -2567,7 +2567,7 @@

     "650" SP "ADDRMAP" SP Address SP NewAddress SP Expiry
       [SP "error=" ErrorCode] [SP "EXPIRES=" UTCExpiry] [SP "CACHED=" Cached]
       CRLF
       [SP "STREAMID=" StreamId] CRLF

     NewAddress = Address / "<error>"
     Expiry = DQUOTE ISOTime DQUOTE / "NEVER"
@@ -2576,6 +2576,7 @@
     UTCExpiry = DQUOTE IsoTime DQUOTE

     Cached = DQUOTE "YES" DQUOTE / DQUOTE "NO" DQUOTE
     StreamId = DQUOTE StreamId DQUOTE

  Error and UTCExpiry are only provided if extended events are enabled.
  The values for Error are mostly useless.  Future values will be
@@ -2589,6 +2590,9 @@
  Cached indicates whether the mapping will be stored until it expires, or if
  it is just a notification in response to a RESOLVE command.

  StreamId is the global stream identifier of the stream or circuit from which
  the address was resolved.

4.1.8. Descriptors uploaded to us in our role as authoritative dirserver

  [NOTE: This feature was removed in Tor 0.3.2.1-alpha.]