Skip to content

Commit

Permalink
doc: add note about nghttp2 hd pair size
Browse files Browse the repository at this point in the history
  • Loading branch information
RafaelGSS committed Mar 1, 2022
1 parent 2f7920c commit 7cdd834
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.
Note: this sets the maximum allowed size to the entire block of headers,
but, the `nghttp2` (the internal http2 library) has a limit of `65536`
to each 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 7cdd834

Please sign in to comment.