Skip to content

Commit

Permalink
Remove the requirement to have stream data acknowledged for close
Browse files Browse the repository at this point in the history
  • Loading branch information
martinthomson committed Jun 13, 2017
1 parent b187587 commit bb6cee1
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions draft-ietf-quic-transport.md
Original file line number Diff line number Diff line change
Expand Up @@ -2428,11 +2428,11 @@ From the "open" state, either endpoint can send a frame with the FIN flag set,
which causes the stream to transition into one of the "half-closed" states.
This flag can be set on the frame that opens the stream, which causes the stream
to immediately become "half-closed". Once an endpoint has completed sending all
stream data and a STREAM frame with a FIN flag, including any retransmissions,
the stream state becomes "half-closed (local)". When an endpoint receives all
stream data a FIN flag the stream state becomes "half-closed (remote)". An
endpoint MUST NOT consider the stream state to have changed until all data has
been acknowledged, received or discarded.
stream data and a STREAM frame with a FIN flag, the stream state becomes
"half-closed (local)". When an endpoint receives all stream data a FIN flag the
stream state becomes "half-closed (remote)". An endpoint MUST NOT consider the
stream state to have changed until all data has been sent, received or
discarded.
A RST_STREAM frame on an "open" stream causes the stream to become
"half-closed". A stream that becomes "open" as a result of sending or receiving
Expand Down Expand Up @@ -2493,8 +2493,7 @@ stream and connection data limits (see {{flow-control}}).
A stream transitions from this state to "closed" by completing transmission of
all data. This includes sending all data carried in STREAM frames up including
the terminal STREAM frame that contains a FIN flag and receiving acknowledgment
from the peer for packets that included all the data.
the terminal STREAM frame that contains a FIN flag.
A stream becomes "closed" when the endpoint sends and receives acknowledgment of
a RST_STREAM frame.
Expand Down

0 comments on commit bb6cee1

Please sign in to comment.