From: Nick Mathewson Date: Tue, 1 Mar 2005 22:43:24 +0000 (+0000) Subject: Add error reason to spec: TORPROTOCOL reason means "you are not speaking a version... X-Git-Tag: tor-0.1.0.1-rc~172 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0b396a7ce77fd68ef900e5a3096ee1961389327;p=thirdparty%2Ftor.git Add error reason to spec: TORPROTOCOL reason means "you are not speaking a version of Tor I understand; say bye-bye to your stream." svn:r3721 --- diff --git a/doc/tor-spec.txt b/doc/tor-spec.txt index fd4549ed6f..3657cd550a 100644 --- a/doc/tor-spec.txt +++ b/doc/tor-spec.txt @@ -470,6 +470,8 @@ TODO: (very soon) 10 -- REASON_INTERNAL (Internal error at the OR) 11 -- REASON_RESOURCELIMIT (OR has no resources to fulfill request) 12 -- REASON_CONNRESET (Connection was unexpectedly reset) + 13 -- REASON_TORPROTOCOL (Sent when closing connection because of + Tor protocol violations.) (With REASON_EXITPOLICY, the 4-byte IPv4 address or 16-byte IPv6 address forms the optional data; no other reason currently has extra data.)