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 <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
  • Loading branch information
RafaelGSS authored and xtx1130 committed Apr 25, 2022
1 parent a797678 commit a0ce0ba
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 a0ce0ba

Please sign in to comment.