From 99c554e353180eacc7ede2687904a80aa7fd3727 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bence=20B=C3=A9ky?= Date: Wed, 31 Jul 2019 11:34:58 -0400 Subject: [PATCH] blocked --- draft-ietf-quic-qpack.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/draft-ietf-quic-qpack.md b/draft-ietf-quic-qpack.md index daa77f930b..90af0afd59 100644 --- a/draft-ietf-quic-qpack.md +++ b/draft-ietf-quic-qpack.md @@ -262,11 +262,15 @@ When the decoder receives a header block with a Required Insert Count greater than its own Insert Count, the stream cannot be processed immediately, and is considered "blocked" (see {blocked-decoding}). -The SETTINGS_QPACK_BLOCKED_STREAMS setting (see {{configuration}}) specifies an -upper bound on the number of streams which can be blocked. An encoder MUST limit -the number of streams which could become blocked to the value of -SETTINGS_QPACK_BLOCKED_STREAMS at all times. Note that the decoder might not -become blocked on every stream which risks becoming blocked. +The decoder specifies an upper bound on the number of streams which can be +blocked using the SETTINGS_QPACK_BLOCKED_STREAMS setting (see +{{configuration}}). An encoder MUST limit the number of streams which could +become blocked to the value of SETTINGS_QPACK_BLOCKED_STREAMS at all times. +If an decoder encounters more blocked streams than it promised to support, it +MUST treat this as a connection error of type HTTP_QPACK_DECOMPRESSION_FAILED. + +Note that the decoder might not become blocked on every stream which risks +becoming blocked. An encoder can decide whether to risk having a stream become blocked. If permitted by the value of SETTINGS_QPACK_BLOCKED_STREAMS, compression efficiency @@ -327,9 +331,6 @@ HTTP_QPACK_DECOMPRESSION_FAILED (see {{invalid-references}}). If it encounters a larger value than expected, it MAY treat this as a connection error of type HTTP_QPACK_DECOMPRESSION_FAILED. -If the decoder encounters more blocked streams than it promised to support, it -MUST treat this as a connection error of type HTTP_QPACK_DECOMPRESSION_FAILED. - ### State Synchronization The decoder signals the following events by emitting decoder instructions