Skip to content

Commit

Permalink
doc: add note about nghttp2 hd pair size
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
RafaelGSS authored and danielleadams committed Apr 24, 2022
1 parent 70281e1 commit 1260453
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/api/http2.md
Expand Up @@ -2324,6 +2324,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:
Expand Down

0 comments on commit 1260453

Please sign in to comment.