summaryrefslogtreecommitdiff
path: root/doc/spec
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-07-29 04:03:25 +0000
committerNick Mathewson <nickm@torproject.org>2007-07-29 04:03:25 +0000
commit964e4a305d1fbdfbfde3754845064f681dd38d5c (patch)
tree39e0f218375dee142012bc0cc1bef6d62fd3b856 /doc/spec
parent25bd4204d0f0db46fb81a12df475760f3a6fce68 (diff)
downloadtor-964e4a305d1fbdfbfde3754845064f681dd38d5c.tar.gz
tor-964e4a305d1fbdfbfde3754845064f681dd38d5c.zip
r13972@catbus: nickm | 2007-07-29 00:01:38 -0400
Make our control events for multi-line async replies conform to our old grammar. Change back to the old grammar (which got "corrected" in r10931). svn:r10964
Diffstat (limited to 'doc/spec')
-rw-r--r--doc/spec/control-spec.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/spec/control-spec.txt b/doc/spec/control-spec.txt
index df1d8752e7..d6564dce96 100644
--- a/doc/spec/control-spec.txt
+++ b/doc/spec/control-spec.txt
@@ -64,7 +64,7 @@ $Id$
Reply = SyncReply / AsyncReply
SyncReply = *(MidReplyLine / DataReplyLine) EndReplyLine
- AsyncReply = *MidReplyLine EndReplyLine / DataReplyLine
+ AsyncReply = *(MidReplyLine / DataReplyLine) EndReplyLine
MidReplyLine = StatusCode "-" ReplyLine
DataReplyLine = StatusCode "+" ReplyLine Data
@@ -954,7 +954,7 @@ $Id$
The syntax is:
"650" SP Severity SP ReplyText
or
- "650+" Severity CRLF Data
+ "650+" Severity CRLF Data 650 SP "OK" CRLF
Severity = "DEBUG" / "INFO" / "NOTICE" / "WARN"/ "ERR"
@@ -985,7 +985,7 @@ $Id$
Syntax:
"650" "+" "AUTHDIR_NEWDESCS" CRLF Action CRLF Message CRLF
- Descriptor CRLF "." CRLF
+ Descriptor CRLF "." CRLF "650" SP "OK" CRLF
Action = "ACCEPTED" / "DROPPED" / "REJECTED"
Message = Text
@@ -1316,7 +1316,7 @@ $Id$
4.1.12. Network status has changed
Syntax:
- "650" "+" "NS" CRLF 1*NetworkStatus "." CRLF
+ "650" "+" "NS" CRLF 1*NetworkStatus "." CRLF "650" SP "OK" CRLF
[First added in 0.1.2.3-alpha]