summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-01-15 21:13:37 +0000
committerNick Mathewson <nickm@torproject.org>2007-01-15 21:13:37 +0000
commitead35ef9440a4d20a559441b2c6779954d3c02d5 (patch)
tree6d991739d5cda23ccd4c3d36bb4c8945a0bb3fb7 /doc
parent299730e0b684f7a910a45d94528701a84dc591a6 (diff)
downloadtor-ead35ef9440a4d20a559441b2c6779954d3c02d5.tar.gz
tor-ead35ef9440a4d20a559441b2c6779954d3c02d5.zip
r11957@Kushana: nickm | 2007-01-15 15:25:57 -0500
Patch from Mike Perry: Track reasons for OR connection failure; display them in control events. Needs review and revision. svn:r9354
Diffstat (limited to 'doc')
-rw-r--r--doc/control-spec.txt14
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/control-spec.txt b/doc/control-spec.txt
index 1904a0fa32..f4b8bcd9e2 100644
--- a/doc/control-spec.txt
+++ b/doc/control-spec.txt
@@ -885,7 +885,8 @@ $Id$
4.1.3. OR Connection status changed
The syntax is:
- "650" SP "ORCONN" SP (ServerID / Target) SP ORStatus
+ "650" SP "ORCONN" SP (ServerID / Target) SP ORStatus [ SP "REASON="
+ Reason ] [ SP "NCIRCS=" NumCircuits ]
ORStatus = "NEW" / "LAUNCHED" / "CONNECTED" / "FAILED" / "CLOSED"
@@ -898,6 +899,17 @@ $Id$
A ServerID is specified unless it's a NEW connection, in which
case we don't know what server it is yet, so we use Address:Port.
+ If extended events are enabled (see 3.19), optional reason and
+ circuit counting information is provided for CLOSED and FAILED
+ events.
+
+ Reason = "MISC" / "DONE" / "CONNECTREFUSED" /
+ "IDENTITY" / "CONNECTRESET" / "TIMEOUT" / "NOROUTE" /
+ "IOERROR"
+
+ NumCircuits counts both established and pending circuits.
+
+
4.1.4. Bandwidth used in the last second
The syntax is: