aboutsummaryrefslogtreecommitdiff
path: root/doc/spec
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-04-30 14:09:11 +0000
committerNick Mathewson <nickm@torproject.org>2007-04-30 14:09:11 +0000
commit43385b9bc9f658b2686e0a897a33c98a8b098716 (patch)
tree63473578ab953b49f6bfc47a378acf29bd482e76 /doc/spec
parent420df2ce15172d2738758debd6135ce1accb267b (diff)
downloadtor-43385b9bc9f658b2686e0a897a33c98a8b098716.tar
tor-43385b9bc9f658b2686e0a897a33c98a8b098716.tar.gz
r12565@catbus: nickm | 2007-04-30 10:09:07 -0400
Misc cleanup and bulletproofing on r10056. svn:r10058
Diffstat (limited to 'doc/spec')
-rw-r--r--doc/spec/control-spec.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/spec/control-spec.txt b/doc/spec/control-spec.txt
index 6cbab8dbf..4adcbd8b5 100644
--- a/doc/spec/control-spec.txt
+++ b/doc/spec/control-spec.txt
@@ -535,7 +535,7 @@ $Id$
3.13. ATTACHSTREAM
Sent from the client to the server. The syntax is:
- "ATTACHSTREAM" SP StreamID SP CircuitID ["HOP=" HopNum] CRLF
+ "ATTACHSTREAM" SP StreamID SP CircuitID [SP "HOP=" HopNum] CRLF
This message informs the server that the specified stream should be
associated with the specified circuit. Each stream may be associated with
@@ -549,6 +549,7 @@ $Id$
If HOP=HopNum is specified, Tor will choose the HopNumth hop in the
circuit as the exit node, rather than the last node in the circuit.
+ Hops are 1-indexed; generally, it is not permitted to attach to hop 1.
Tor responds with "250 OK" if it can attach the stream, 552 if the circuit
or stream didn't exist, or 551 if the stream couldn't be attached for