commit 7424472d21725077f83aa9ff19e64ae530798d27 Author: Nick Mathewson nickm@torproject.org Date: Wed Apr 14 10:43:20 2021 -0400
Clarify part of proposal 325
We indicated that "0" meant "no more messages" but we didn't say what happened if there was no space to put such a 0. --- proposals/325-packed-relay-cells.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/proposals/325-packed-relay-cells.md b/proposals/325-packed-relay-cells.md index fb962dd..6498d4c 100644 --- a/proposals/325-packed-relay-cells.md +++ b/proposals/325-packed-relay-cells.md @@ -79,8 +79,9 @@ encrypt/decrypt and recognize a cell is not changed, only the payload changes to contain multiple messages.
The "Relay Command" byte "0" is now used to explicitly indicate "end of -commands". If the byte "0" appears after a `RELAY_MESSAGE`, the rest of the -cell MUST be ignored. +commands". If the byte "0" appears after a `RELAY_MESSAGE`, the rest of the +cell MUST be ignored. (Note that this "end of commands" indicator may be +absent if there are no bytes remaining after the last message in the cell.)
Only some "Relay Command" are supported for relay cell packing: - `BEGIN_DIR`