diff options
-rw-r--r-- | doc/control-spec.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/control-spec.txt b/doc/control-spec.txt index 81d1cd777..7bf7c50b3 100644 --- a/doc/control-spec.txt +++ b/doc/control-spec.txt @@ -635,7 +635,11 @@ about dns resolves, etc, so the controller can keep synced. -RD] 5.3. Backward compatibility For backward compatibility with the "version 0" control protocol, Tor checks - whether the third byte the first command is zero. If it is, Tor + whether the third octet the first command is zero. If it is, Tor assumes that version 0 is in use. This feature is deprecated, and will be removed in the 0.1.2.x Tor development series. + In order to detect which version of the protocol is supported controllers + should send the sequence [00 00 0D 0A]. This is a valid and unrecognized + command in both protocol versions, and implementations can detect which + error they have received. |