r8972@totoro: nickm | 2006-10-09 10:36:22 -0400

Patch from Mike Perry: add a REASON field to closed and failed circ events.


svn:r8671
This commit is contained in:
Nick Mathewson
2006-10-09 15:47:27 +00:00
parent 17abfa6a6a
commit b76fd968b4
10 changed files with 91 additions and 49 deletions
+8 -1
View File
@@ -751,7 +751,8 @@ $Id$
The syntax is:
"650" SP "CIRC" SP CircuitID SP CircStatus [SP Path]
"650" SP "CIRC" SP CircuitID SP CircStatus [SP Path]
[SP "REASON=" Reason] CRLF
CircStatus =
"LAUNCHED" / ; circuit ID assigned to new circuit
@@ -762,9 +763,15 @@ $Id$
Path = ServerID *("," ServerID)
Reason = "NONE" / "TORPROTOCOL" / "INTERNAL" / "REQUESTED" /
"HIBERNATING" / "RESOURCELIMIT" / "CONNECTFAILED" /
"OR_IDENTITY" / "OR_CONN_CLOSED"
The path is provided only when the circuit has been extended at least one
hop.
Reason is provided only for FAILED and CLOSED events.
4.1.2. Stream status changed
The syntax is: