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: nodejs#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 committed Mar 5, 2022
1 parent acc11c9 commit 91cc4fa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/api/http2.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 91cc4fa

Please sign in to comment.