Skip to content

Commit 7cdd834

Browse files
committed
doc: add note about nghttp2 hd pair size
1 parent 2f7920c commit 7cdd834

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/api/http2.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2379,6 +2379,9 @@ changes:
23792379
serialized, compressed block of headers. Attempts to send headers that
23802380
exceed this limit will result in a `'frameError'` event being emitted
23812381
and the stream being closed and destroyed.
2382+
Note: this sets the maximum allowed size to the entire block of headers,
2383+
but, the `nghttp2` (the internal http2 library) has a limit of `65536`
2384+
to each key/value pair.
23822385
* `paddingStrategy` {number} The strategy used for determining the amount of
23832386
padding to use for `HEADERS` and `DATA` frames. **Default:**
23842387
`http2.constants.PADDING_STRATEGY_NONE`. Value may be one of:

0 commit comments

Comments
 (0)