Skip to content

Commit

Permalink
Merge pull request #3527 from bencebeky/bencebeky-transport-wrong-dir…
Browse files Browse the repository at this point in the history
…ection

Opening a stream in the wrong direction is an error.
  • Loading branch information
martinthomson committed Mar 17, 2020
2 parents 190c46e + c700c5e commit a951239
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions draft-ietf-quic-transport.md
Expand Up @@ -5206,8 +5206,9 @@ are present in the frame.
final size of the stream. Setting this bit indicates that the frame
marks the end of the stream.

An endpoint that receives a STREAM frame for a send-only stream MUST terminate
the connection with error STREAM_STATE_ERROR.
An endpoint MUST terminate the connection with error STREAM_STATE_ERROR if it
receives a STREAM frame for a locally-initiated stream that has not yet been
created, or for a send-only stream.

The STREAM frames are shown in {{fig-stream}}.

Expand Down

0 comments on commit a951239

Please sign in to comment.