From e9e5d6ca87f84152cd8e57dce0d67546201535cc Mon Sep 17 00:00:00 2001 From: Mike Bishop Date: Fri, 4 Aug 2017 13:49:46 -0700 Subject: [PATCH 1/2] DATA frames MUST be non-empty --- draft-ietf-quic-http.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/draft-ietf-quic-http.md b/draft-ietf-quic-http.md index d6aa01fcdd..f3654cc696 100644 --- a/draft-ietf-quic-http.md +++ b/draft-ietf-quic-http.md @@ -413,6 +413,10 @@ DATA frames MUST be associated with an HTTP request or response. If a DATA frame is received on the control stream, the recipient MUST respond with a connection error ({{errors}}) of type HTTP_WRONG_STREAM. +DATA frames MUST contain a non-zero-length payload. If a DATA frame is received +with a payload length of zero, the recipient MUST respond with a stream error +({{errors}}) of type HTTP_MALFORMED_DATA. + ### HEADERS {#frame-headers} The HEADERS frame (type=0x1) is used to carry part of a header set, compressed From 6871366c189f5613a35fbccdbc50aa93cf4433e4 Mon Sep 17 00:00:00 2001 From: Mike Bishop Date: Fri, 4 Aug 2017 13:59:27 -0700 Subject: [PATCH 2/2] Changelog --- draft-ietf-quic-http.md | 1 + 1 file changed, 1 insertion(+) diff --git a/draft-ietf-quic-http.md b/draft-ietf-quic-http.md index f3654cc696..5e042199f6 100644 --- a/draft-ietf-quic-http.md +++ b/draft-ietf-quic-http.md @@ -1263,6 +1263,7 @@ The original authors of this specification were Robbie Shade and Mike Warres. - SETTINGS_ENABLE_PUSH instead of SETTINGS_DISABLE_PUSH (#477) - Restored GOAWAY (#696) - Identify server push using Push ID rather than a stream ID (#702,#281) +- DATA frames cannot be empty (#700) ## Since draft-ietf-quic-http-03