diff options
author | Nick Mathewson <nickm@torproject.org> | 2021-04-14 10:43:20 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2021-04-14 10:43:20 -0400 |
commit | 7424472d21725077f83aa9ff19e64ae530798d27 (patch) | |
tree | 4be1747fbe5f1340c0dc382efc67e807711ddbdc | |
parent | f74b5732b2ff79288b47c00c3054362311ca38fb (diff) | |
download | torspec-7424472d21725077f83aa9ff19e64ae530798d27.tar.gz torspec-7424472d21725077f83aa9ff19e64ae530798d27.zip |
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.
-rw-r--r-- | proposals/325-packed-relay-cells.md | 5 |
1 files 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` |