From 5c1f53d125ad2f4a58dd17552674ab764eca133d Mon Sep 17 00:00:00 2001 From: RafaelGSS Date: Tue, 1 Mar 2022 16:57:37 -0300 Subject: [PATCH] doc: add note about nghttp2 hd pair size --- doc/api/http2.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/api/http2.md b/doc/api/http2.md index a2141e995f0a38..5bd91a5719c89a 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -2379,6 +2379,9 @@ changes: serialized, compressed block of headers. Attempts to send headers that exceed this limit will result in a `'frameError'` event being emitted and the stream being closed and destroyed. + While this sets the maximum allowed size to the entire block of headers, + `nghttp2` (the internal http2 library) has a limit of `65536` + for each decompressed key/value pair. * `paddingStrategy` {number} The strategy used for determining the amount of padding to use for `HEADERS` and `DATA` frames. **Default:** `http2.constants.PADDING_STRATEGY_NONE`. Value may be one of: