summaryrefslogtreecommitdiff
path: root/doc/control-spec.txt
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-03-12 04:22:01 +0000
committerNick Mathewson <nickm@torproject.org>2005-03-12 04:22:01 +0000
commit115271f65e1b84cea09f0fb401afb123f22b075b (patch)
treeab148aad2c1d2f5e320011b8507507817e48c918 /doc/control-spec.txt
parentd1f790e9cec42783e47805a8593ca5532a525904 (diff)
downloadtor-115271f65e1b84cea09f0fb401afb123f22b075b.tar.gz
tor-115271f65e1b84cea09f0fb401afb123f22b075b.zip
Implement the common case of ATTACHSTREAM.
svn:r3751
Diffstat (limited to 'doc/control-spec.txt')
-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 0f197c46a1..0571d068fe 100644
--- a/doc/control-spec.txt
+++ b/doc/control-spec.txt
@@ -100,6 +100,10 @@ the message.
[The server didn't have enough of a given resource to
fulfill a given request.]
+ 0x000A No such stream
+
+ 0x000B No such circuit.
+
The rest of the body should be a human-readable description of the error.
In general, new error codes should only be added when they don't fall under
@@ -182,7 +186,7 @@ the message.
Status [1 octet]
(Sent connect=0,sent resolve=1,succeeded=2,failed=3,
- closed=4, new=5)
+ closed=4, new connection=5, new resolve request=6)
Stream ID [4 octets]
(Must be unique to Tor process/time)
Target (NUL-terminated address-port string]
@@ -351,6 +355,9 @@ the message.
associated with the specified circuit. Each stream may be associated with
at most one circuit, and multiple streams may share the same circuit.
+ If the circuit ID is 0, responsibility for attaching the given stream is
+ returned to Tor.
+
3.16 POSTDESCRIPTOR (Type 0x000F)
[Proposal; not finalized]