Skip to content

Commit f306c85

Browse files
RafaelGSSdanielleadams
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 1c05899 commit f306c85

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
@@ -2324,6 +2324,9 @@ changes:
23242324
serialized, compressed block of headers. Attempts to send headers that
23252325
exceed this limit will result in a `'frameError'` event being emitted
23262326
and the stream being closed and destroyed.
2327+
While this sets the maximum allowed size to the entire block of headers,
2328+
`nghttp2` (the internal http2 library) has a limit of `65536`
2329+
for each decompressed key/value pair.
23272330
* `paddingStrategy` {number} The strategy used for determining the amount of
23282331
padding to use for `HEADERS` and `DATA` frames. **Default:**
23292332
`http2.constants.PADDING_STRATEGY_NONE`. Value may be one of:

0 commit comments

Comments
 (0)