summaryrefslogtreecommitdiff
path: root/doc/spec
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-08-29 19:02:33 +0000
committerNick Mathewson <nickm@torproject.org>2007-08-29 19:02:33 +0000
commit91f83cfc2d380aa76fd049d13cf9fb097fecaab6 (patch)
tree701aff2f074b775754f191537f52a011fbb4e989 /doc/spec
parent4266039c195ebf5ed38d02fbe31770fb6a03e254 (diff)
downloadtor-91f83cfc2d380aa76fd049d13cf9fb097fecaab6.tar.gz
tor-91f83cfc2d380aa76fd049d13cf9fb097fecaab6.zip
r14830@catbus: nickm | 2007-08-29 13:50:10 -0400
Make controllers accept LF as well as CRLF. Update spec to reflect this. Remove now-dead code. Make controller warning about v0 protocol more accurate. svn:r11299
Diffstat (limited to 'doc/spec')
-rw-r--r--doc/spec/control-spec.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/spec/control-spec.txt b/doc/spec/control-spec.txt
index fc9d3188d1..4d8946b93c 100644
--- a/doc/spec/control-spec.txt
+++ b/doc/spec/control-spec.txt
@@ -52,6 +52,10 @@ $Id$
There are explicitly no limits on line length. All 8-bit characters are
permitted unless explicitly disallowed.
+ Wherever CRLF is specified to be accepted from the controller, Tor MAY also
+ accept LF. Tor, however, MUST NOT generate LF instead of CRLF.
+ Controllers SHOULD always send CRLF.
+
2.2. Commands from controller to Tor
Command = Keyword Arguments CRLF / "+" Keyword Arguments CRLF Data