summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-03-01 22:43:24 +0000
committerNick Mathewson <nickm@torproject.org>2005-03-01 22:43:24 +0000
commitb0b396a7ce77fd68ef900e5a3096ee1961389327 (patch)
treecde616990a63b7cb7f03a763887a0c0e729d114f /doc
parentafe414f070cee8ce1469fc6db8f51bb9e71c654d (diff)
downloadtor-b0b396a7ce77fd68ef900e5a3096ee1961389327.tar.gz
tor-b0b396a7ce77fd68ef900e5a3096ee1961389327.zip
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
Diffstat (limited to 'doc')
-rw-r--r--doc/tor-spec.txt2
1 files changed, 2 insertions, 0 deletions
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.)