From 969482cdd4dea16c60e23570186a7daefba7f774 Mon Sep 17 00:00:00 2001 From: Mike Bishop Date: Fri, 15 Apr 2022 15:25:57 -0400 Subject: [PATCH] Explicitly prohibit requests to close as well; fixes #4984 --- rfc9204.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/rfc9204.md b/rfc9204.md index dd63724c81..34e216dc29 100644 --- a/rfc9204.md +++ b/rfc9204.md @@ -670,8 +670,10 @@ initiate, at most, one encoder stream and, at most, one decoder stream. Receipt of a second instance of either stream type MUST be treated as a connection error of type H3_STREAM_CREATION_ERROR. -These streams MUST NOT be closed. Closure of either unidirectional stream type -MUST be treated as a connection error of type H3_CLOSED_CRITICAL_STREAM. +The sender MUST NOT close either of these streams, and the receiver MUST NOT +request that the sender close either of these streams. Closure of either +unidirectional stream type MUST be treated as a connection error of type +H3_CLOSED_CRITICAL_STREAM. An endpoint MAY avoid creating an encoder stream if it will not be used (for example, if its encoder does not wish to use the dynamic table or if the maximum