aboutsummaryrefslogtreecommitdiff
path: root/tor-spec.txt
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-09-19 09:47:56 -0400
committerNick Mathewson <nickm@torproject.org>2017-09-19 09:47:56 -0400
commit1cda024edf1501f23d639a40965602205ab300bb (patch)
tree26485b54a27ed3098237541d4b21b4e4357931c3 /tor-spec.txt
parent9f390c36febd23e9d3fda4203fd261ee03056e3c (diff)
downloadtorspec-1cda024edf1501f23d639a40965602205ab300bb.tar.gz
torspec-1cda024edf1501f23d639a40965602205ab300bb.zip
clarify that RELAY_SENDME cells are empty
Diffstat (limited to 'tor-spec.txt')
-rw-r--r--tor-spec.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/tor-spec.txt b/tor-spec.txt
index 16dc74b..bb74678 100644
--- a/tor-spec.txt
+++ b/tor-spec.txt
@@ -1604,9 +1604,9 @@ see tor-design.pdf.
if no 'circwindow' value is given,
in each direction (cells that are not data cells do not affect
the window). When an OR is willing to deliver more cells, it sends a
- RELAY_SENDME cell towards the OP, with Stream ID zero. When an OR
- receives a RELAY_SENDME cell with stream ID zero, it increments its
- packaging window.
+ RELAY_SENDME cell towards the OP, with Stream ID zero and an empty
+ body. When an OR receives a RELAY_SENDME cell with stream ID zero, it
+ increments its packaging window. (The body SHOULD be ignored.)
Each of these cells increments the corresponding window by 100.
@@ -1631,6 +1631,8 @@ see tor-design.pdf.
cells when both a) the window is <= 450, and b) there are less than
ten cell payloads remaining to be flushed at that edge.
+ Stream-level RELAY_SENDME cells are distinguished by having nonzero
+ StreamID. They are still empty; the body still SHOULD be ignored.
8. Handling resource exhaustion