[tor-commits] [torspec/master] Document 555 return code from ATTACHSTREAM

nickm at torproject.org nickm at torproject.org
Tue Apr 16 17:25:07 UTC 2013


commit 7286576de0c946f8b4c2d0f907cad3355d04e2fa
Author: Roger Dingledine <arma at torproject.org>
Date:   Tue Apr 16 13:24:44 2013 -0400

    Document 555 return code from ATTACHSTREAM
    
    Fix for bug 8701.
    
    (Commit message by nickm)
---
 control-spec.txt |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/control-spec.txt b/control-spec.txt
index 4498fbe..bc09557 100644
--- a/control-spec.txt
+++ b/control-spec.txt
@@ -836,9 +836,10 @@
   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
-  another reason.
+  Tor responds with "250 OK" if it can attach the stream, 552 if the
+  circuit or stream didn't exist, 555 if the stream isn't in an
+  appropriate state to be attached (e.g. it's already open), or 551 if
+  the stream couldn't be attached for another reason.
 
   {Implementation note: Tor will close unattached streams by itself,
   roughly two minutes after they are born. Let the developers know if



More information about the tor-commits mailing list