From 72c549884a28ac15e76272561a4e9a363959b98b Mon Sep 17 00:00:00 2001 From: Martin Thomson Date: Tue, 22 Mar 2022 22:34:19 +1100 Subject: [PATCH] Fix list construction for frame size error Closes #1030. --- draft-ietf-httpbis-http2bis.xml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/draft-ietf-httpbis-http2bis.xml b/draft-ietf-httpbis-http2bis.xml index 746c64f8..62dda2b1 100644 --- a/draft-ietf-httpbis-http2bis.xml +++ b/draft-ietf-httpbis-http2bis.xml @@ -491,13 +491,17 @@ HTTP Frame { - An endpoint MUST send an error code of FRAME_SIZE_ERROR if a frame exceeds the size - defined in SETTINGS_MAX_FRAME_SIZE, exceeds any limit defined for the frame type, - or is too small to contain mandatory frame data. A frame size error in a frame that - could alter the state of the entire connection MUST be treated as a connection error; this includes any frame carrying - a field block (that is, HEADERS, - PUSH_PROMISE, and CONTINUATION), SETTINGS, - and any frame with a stream identifier of 0. + An endpoint MUST send an error code of FRAME_SIZE_ERROR if a frame exceeds the size defined in SETTINGS_MAX_FRAME_SIZE, exceeds any + limit defined for the frame type, or is too small to contain mandatory frame data. A frame + size error in a frame that could alter the state of the entire connection MUST be treated + as a connection error; this includes any + frame carrying a field block (that is, HEADERS, PUSH_PROMISE, and CONTINUATION), a SETTINGS frame, and any frame with a stream identifier of 0. Endpoints are not obligated to use all available space in a frame. Responsiveness can be