Skip to content

Commit

Permalink
Don't allow reprioritization of stream 0 (#703)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinthomson authored and MikeBishop committed Jul 28, 2017
1 parent 7686501 commit 305585a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions draft-ietf-quic-http.md
Original file line number Diff line number Diff line change
Expand Up @@ -443,10 +443,16 @@ The PRIORITY frame payload has the following fields:
{{!RFC7540}}, Section 5.3). Add one to the value to obtain a weight between
1 and 256.

A PRIORITY frame MUST have a payload length of nine octets. A PRIORITY frame
of any other length MUST be treated as a connection error of type
A PRIORITY frame MAY identify a dependent stream with a stream ID of 0; as in
{{!RFC7540}}, this makes the request dependent on the root of the dependency
tree. Stream ID 0 and stream ID 1 cannot be reprioritized; an attempt to
reprioritize these stream MUST be treated as a connection error of type
HTTP_MALFORMED_PRIORITY.

The length of a PRIORITY frame is 9 octets. A PRIORITY frame with any other
length MUST be treated as a connection error of type HTTP_MALFORMED_PRIORITY.


### SETTINGS {#frame-settings}

The SETTINGS frame (type=0x4) conveys configuration parameters that affect how
Expand Down

0 comments on commit 305585a

Please sign in to comment.