Skip to content

Commit a6c1abf

Browse files
RafaelGSSsxa
authored andcommitted
doc: add note about nghttp2 hd pair size
PR-URL: #42172 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
1 parent 8dd4878 commit a6c1abf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/api/http2.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2332,6 +2332,9 @@ changes:
23322332
serialized, compressed block of headers. Attempts to send headers that
23332333
exceed this limit will result in a `'frameError'` event being emitted
23342334
and the stream being closed and destroyed.
2335+
While this sets the maximum allowed size to the entire block of headers,
2336+
`nghttp2` (the internal http2 library) has a limit of `65536`
2337+
for each decompressed key/value pair.
23352338
* `paddingStrategy` {number} The strategy used for determining the amount of
23362339
padding to use for `HEADERS` and `DATA` frames. **Default:**
23372340
`http2.constants.PADDING_STRATEGY_NONE`. Value may be one of:

0 commit comments

Comments
 (0)