Kaynağa Gözat

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
Nick Mathewson 20 yıl önce
ebeveyn
işleme
b0b396a7ce
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. 2 0
      doc/tor-spec.txt

+ 2 - 0
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.)