Skip to content

Commit 1260453

Browse files
RafaelGSSdanielleadams
authored andcommittedApr 24, 2022
doc: add note about nghttp2 hd pair size
PR-URL: #42172 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
1 parent 70281e1 commit 1260453

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎doc/api/http2.md

+3
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)
Please sign in to comment.