summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-10-09 15:47:27 +0000
committerNick Mathewson <nickm@torproject.org>2006-10-09 15:47:27 +0000
commitb76fd968b4d2deddf2f40f63dc04713f45649c68 (patch)
tree7fc3e02f66375ba7c0513709b4bcc2de0a06bdec /doc
parent17abfa6a6afa352ea5fcb0eddbc4539cd96e448c (diff)
downloadtor-b76fd968b4d2deddf2f40f63dc04713f45649c68.tar.gz
tor-b76fd968b4d2deddf2f40f63dc04713f45649c68.zip
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
Diffstat (limited to 'doc')
-rw-r--r--doc/control-spec.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/control-spec.txt b/doc/control-spec.txt
index ee5bc136c2..003f9ef23f 100644
--- a/doc/control-spec.txt
+++ b/doc/control-spec.txt
@@ -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: