diff options
Diffstat (limited to 'spec/control-spec/message-format.md')
-rw-r--r-- | spec/control-spec/message-format.md | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/spec/control-spec/message-format.md b/spec/control-spec/message-format.md index 182f8cc..2e3115b 100644 --- a/spec/control-spec/message-format.md +++ b/spec/control-spec/message-format.md @@ -1,7 +1,9 @@ <a id="control-spec.txt-2"></a> + # Message format <a id="control-spec.txt-2.1"></a> + ## Description format The message formats listed below use ABNF as described in RFC 2234. @@ -23,6 +25,7 @@ accept LF. Tor, however, MUST NOT generate LF instead of CRLF. Controllers SHOULD always send CRLF. <a id="control-spec.txt-2.1.1"></a> + ### Notes on an escaping bug CString = DQUOTE *qcontent DQUOTE @@ -60,6 +63,7 @@ Tor controller; Tor should parse input QuotedStrings from the controller correctly. <a id="control-spec.txt-2.2"></a> + ## Commands from controller to Tor ```text @@ -76,6 +80,7 @@ multi-line commands that it does not recognize.) Specific commands and their arguments are described below in section 3. <a id="control-spec.txt-2.3"></a> + ## Replies from Tor to the controller ```text @@ -103,6 +108,7 @@ versions of Tor should be prepared to get multi-line AsyncReplies with the final line (usually "650 OK") omitted.] <a id="control-spec.txt-2.4"></a> + ## General-use tokens ; CRLF means, "the ASCII Carriage Return character (decimal value 13) @@ -177,4 +183,3 @@ ISOTime2Frac = IsoTime2 [ "." 1*DIGIT ] ; Numbers LeadingDigit = "1" - "9" UInt = LeadingDigit *Digit - |