Hi,
the Tor control protocol spec says in ยง4.1 about asyncrhronous replies:
These replies can be sent after a corresponding SETEVENTS command has been received. They will not be interleaved with other Reply elements, but they can not appear between a command and its corresponding reply.
C: SETEVENTS CIRC S: 250 OK C: GETCONF SOCKSPORT ORPORT S: 650 CIRC 1000 EXTENDED moria1,moria2 S: 250-SOCKSPORT=9050 S: 250 ORPORT=0
If I am not reading the example wrongly, the negation in the last sentence is wrong, e.g.
diff --git a/control-spec.txt b/control-spec.txt index 2dde043..70ddf3b 100644 --- a/control-spec.txt +++ b/control-spec.txt @@ -1253,7 +1253,7 @@
These replies can be sent after a corresponding SETEVENTS command has been received. They will not be interleaved with other Reply elements, but they - can not appear between a command and its corresponding reply. For example, + can appear between a command and its corresponding reply. For example, this sequence is possible:
Cheers, Frithjof
On Wed, Jun 11, 2014 at 8:26 AM, Frithjof sfrithjof@gmail.com wrote: [...]
If I am not reading the example wrongly, the negation in the last sentence is wrong,
Thanks! Should be fixed now, by commit 2ecd06fcfd883e8c.