summaryrefslogtreecommitdiff
path: root/doc/control-spec.txt
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-10-19 23:04:49 +0000
committerNick Mathewson <nickm@torproject.org>2006-10-19 23:04:49 +0000
commitbfdb93d8bd7fbc24def7fa1a38c5b9a144eb5a44 (patch)
tree222f9fdd7fe6385d80bb38525fe4bd98e494a576 /doc/control-spec.txt
parent26951e870997f7f52493ea1652dc427f95eb7872 (diff)
downloadtor-bfdb93d8bd7fbc24def7fa1a38c5b9a144eb5a44.tar.gz
tor-bfdb93d8bd7fbc24def7fa1a38c5b9a144eb5a44.zip
r9272@Kushana: nickm | 2006-10-19 12:52:37 -0400
Fix an XXX in handling destroy cells: when we get a destroy cell with reason FOO, do not tell the controller REASON=FOO. Instead, say REASON=DESTROYED REMOTE_REASON=FOO. Suggested by a conversation with Mike Perry. svn:r8760
Diffstat (limited to 'doc/control-spec.txt')
-rw-r--r--doc/control-spec.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/control-spec.txt b/doc/control-spec.txt
index b8dd3c1db2..235c19a7cb 100644
--- a/doc/control-spec.txt
+++ b/doc/control-spec.txt
@@ -788,7 +788,7 @@ $Id$
The syntax is:
"650" SP "CIRC" SP CircuitID SP CircStatus [SP Path]
- [SP "REASON=" Reason] CRLF
+ [SP "REASON=" Reason [SP "REMOTE_REASON=" Reason]] CRLF
CircStatus =
"LAUNCHED" / ; circuit ID assigned to new circuit
@@ -813,6 +813,11 @@ $Id$
NOPATH (Not enough nodes to make circuit)
+ The "REMOTE_REASON" field is provided only when we receive a DESTROY or
+ TRUNCATE cell, and only if extended events are enabled. It contains the
+ actual reason given by the remote OR for closing the circuit. Clients MUST
+ accept reasons not listed above. Reasons are as listed in tor-spec.txt.
+
4.1.2. Stream status changed
The syntax is: