Skip to content

Commit 70bf032

Browse files
Revert "allow reading from streams that a RST_STREAM has been received for"
This reverts commit 782263a.
1 parent 782263a commit 70bf032

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

draft-ietf-quic-transport.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1283,7 +1283,10 @@ A packet may contain frames and/or application data, only some of which may
12831283
require reliability. When a packet is detected as lost, the sender re-sends any
12841284
frames as necessary:
12851285

1286-
* All application data sent in STREAM frames MUST be retransmitted.
1286+
* All application data sent in STREAM frames MUST be retransmitted, with one
1287+
exception. When an endpoint sends a RST_STREAM frame, data outstanding on
1288+
that stream SHOULD NOT be retransmitted, since subsequent data on this stream
1289+
is expected to not be delivered by the receiver.
12871290

12881291
* ACK, STOP_WAITING, and PADDING frames MUST NOT be retransmitted. New frames
12891292
of these types may however be bundled with any outgoing packet.
@@ -1486,8 +1489,7 @@ the highest data offset it already received on that stream.
14861489
An endpoint that receives a RST_STREAM frame (and which has not sent a FIN or a
14871490
RST_STREAM) MUST immediately respond with a RST_STREAM frame, and MUST NOT send
14881491
any more data on the stream. This endpoint may continue receiving frames for
1489-
the stream on which a RST_STREAM is received, and MUST deliver the received
1490-
data up to the final offset to the application.
1492+
the stream on which a RST_STREAM is received.
14911493
14921494
If this state is reached as a result of sending a RST_STREAM frame, the peer
14931495
that receives the RST_STREAM might have already sent -- or enqueued for sending

0 commit comments

Comments
 (0)