Skip to content

Commit

Permalink
Restrict PUSH_PROMISE to request streams (#2323)
Browse files Browse the repository at this point in the history
* Restrict P_P to request streams

* Gah, you know what I meant
  • Loading branch information
MikeBishop committed Jan 15, 2019
1 parent 8490251 commit d913c62
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion draft-ietf-quic-http.md
Expand Up @@ -717,7 +717,7 @@ with its 0-RTT data.
### PUSH_PROMISE {#frame-push-promise}

The PUSH_PROMISE frame (type=0x05) is used to carry a promised request header
set from server to client, as in HTTP/2.
set from server to client on a request stream, as in HTTP/2.

~~~~~~~~~~ drawing
0 1 2 3
Expand Down Expand Up @@ -748,6 +748,9 @@ multiple PUSH_PROMISE frames. A client MUST treat receipt of a PUSH_PROMISE
that contains a larger Push ID than the client has advertised or a Push ID which
has already been promised as a connection error of type HTTP_MALFORMED_FRAME.

If a PUSH_PROMISE frame is received on either control stream, the recipient MUST
respond with a connection error ({{errors}}) of type HTTP_WRONG_STREAM.

See {{server-push}} for a description of the overall server push mechanism.

### GOAWAY {#frame-goaway}
Expand Down

0 comments on commit d913c62

Please sign in to comment.