document my new relay-early behavior

This commit is contained in:
Roger Dingledine 2009-07-28 17:39:12 -04:00
parent 3e45445104
commit 146eae318f

View File

@ -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, If a node ever receives more than 8 RELAY_EARLY cells on a given
it SHOULD close the circuit. 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