diff options
author | Roger Dingledine <arma@torproject.org> | 2005-11-18 11:17:24 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-11-18 11:17:24 +0000 |
commit | a32a63d50b86229c539c98936098ee5f33b6fe29 (patch) | |
tree | 78ab71075c9bce29bf6b47166a7777d3874861fe /doc/control-spec.txt | |
parent | dfdd73590287911211165e886b073228852746cf (diff) | |
download | tor-a32a63d50b86229c539c98936098ee5f33b6fe29.tar tor-a32a63d50b86229c539c98936098ee5f33b6fe29.tar.gz |
document how the error values for closestream and closecircuit work.
also, let redirectstream take a port, in case we want to change that too.
svn:r5420
Diffstat (limited to 'doc/control-spec.txt')
-rw-r--r-- | doc/control-spec.txt | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/doc/control-spec.txt b/doc/control-spec.txt index b38d1b57e..65d20eb30 100644 --- a/doc/control-spec.txt +++ b/doc/control-spec.txt @@ -448,10 +448,11 @@ $Id$ 3.13. REDIRECTSTREAM Sent from the client to the server. The syntax is: - "REDIRECTSTREAM" SP StreamID SP Address CRLF + "REDIRECTSTREAM" SP StreamID SP Address (Port) CRLF - Tells the server to change the exit address on the specified stream. No - remapping is performed on the new provided address. + Tells the server to change the exit address on the specified stream. If + Port is specified, changes the destination port as well. No remapping + is performed on the new provided address. To be sure that the modified address will be used, this event must be sent after a new stream event is received, and before attaching this stream to @@ -470,6 +471,9 @@ $Id$ not used currently; Tor servers SHOULD ignore unrecognized flags. Tor may hold the stream open for a while to flush any data that is pending. + Tor replies with "250 OK" on success, or a 512 if there aren't enough + arguments, or a 552 if it doesn't recognize the StreamID or reason. + 3.15. CLOSECIRCUIT The syntax is: @@ -482,6 +486,9 @@ $Id$ Other flags may be defined in the future; Tor SHOULD ignore unrecognized flags. + Tor replies with "250 OK" on success, or a 512 if there aren't enough + arguments, or a 552 if it doesn't recognize the CircuitID. + 3.16. QUIT Tells the server to hang up on this controller connection. This command |