Skip to content

Commit

Permalink
Merge pull request #57 from quicwg/zero-length-reliable
Browse files Browse the repository at this point in the history
Move and rephrase the clause about zero Reliable Size
  • Loading branch information
LPardue authored Jan 8, 2024
2 parents 3b3ebec + 8499251 commit 795308a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions draft-ietf-quic-reliable-stream-reset.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,12 +152,6 @@ A sender that wants to reset a stream but also deliver some bytes to the
receiver sends a RESET_STREAM_AT frame with the Reliable Size field specifying
the amount of data to be delivered.

When resetting a stream without the intent to deliver any data to the receiver,
the sender uses a RESET_STREAM frame ({{Section 3.2 of RFC9000}}). The sender
MAY also use a RESET_STREAM_AT frame with a Reliable Size of zero in place of a
RESET_STREAM frame. These two have the same effect and the behavior of
RESET_STREAM frame is unchanged from the behavior described in {{!RFC9000}}.

When using a RESET_STREAM_AT frame, the initiator MUST guarantee reliable
delivery of stream data of at least Reliable Size bytes. If STREAM frames
containing data up to that byte offset are lost, the initiator MUST retransmit
Expand All @@ -170,6 +164,12 @@ a RESET_STREAM_AT frame. Similary, the Reliable Size of the RESET_STREAM_AT
frame does not prevent a QUIC stack from delivering data beyond the specified
offset to the receiving application.

Note that a Reliable Size value of zero is valid. A RESET_STREAM_AT frame with
this value is logically equivalent to a RESET_STREAM frame ({{Section 3.2 of
RFC9000}}). When resetting a stream without the intent to deliver any data to
the receiver, the sender MAY use either RESET_STREAM or
RESET_STREAM_AT with a Reliable Size of zero.

## Multiple RESET_STREAM_AT / RESET_STREAM frames {#multiple-frames}

The initiator MAY send multiple RESET_STREAM_AT frames for the same stream in
Expand Down

0 comments on commit 795308a

Please sign in to comment.