aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2021-04-14 10:43:20 -0400
committerNick Mathewson <nickm@torproject.org>2021-04-14 10:43:20 -0400
commit7424472d21725077f83aa9ff19e64ae530798d27 (patch)
tree4be1747fbe5f1340c0dc382efc67e807711ddbdc
parentf74b5732b2ff79288b47c00c3054362311ca38fb (diff)
downloadtorspec-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.md5
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`