瀏覽代碼

document my new relay-early behavior

Roger Dingledine 17 年之前
父節點
當前提交
146eae318f
共有 1 個文件被更改,包括 5 次插入2 次删除
  1. 5 2
      doc/spec/tor-spec.txt

+ 5 - 2
doc/spec/tor-spec.txt

@@ -661,8 +661,11 @@ see tor-design.pdf.
    is speaking v2 of the link protocol or later, the OR relays the cell as a
    is speaking v2 of the link protocol or later, the OR relays the cell as a
    RELAY_EARLY cell.  Otherwise, it relays it as a RELAY cell.
    RELAY_EARLY cell.  Otherwise, it relays it as a RELAY cell.
 
 
-   If a node ever receives more than 8 RELAY_EARLY cells on a given circuit,
-   it SHOULD close the circuit.
+   If a node ever receives more than 8 RELAY_EARLY cells on a given
+   outbound circuit, it SHOULD close the circuit. (For historical reasons,
+   we don't limit the number of inbound RELAY_EARLY cells; they should
+   be harmless anyway because clients won't accept extend requests. See
+   bug 1038.)
 
 
    When speaking v2 of the link protocol or later, clients MUST only send
    When speaking v2 of the link protocol or later, clients MUST only send
    EXTEND cells inside RELAY_EARLY cells.  Clients SHOULD send the first ~8
    EXTEND cells inside RELAY_EARLY cells.  Clients SHOULD send the first ~8