Skip to content

Commit 3f4b27d

Browse files
sebdeckersaddaleax
authored andcommitted
doc: maxReservedRemoteStreams value constraints
PR-URL: #26309 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent bc5771e commit 3f4b27d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/api/http2.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -2141,7 +2141,9 @@ changes:
21412141
* `maxReservedRemoteStreams` {number} Sets the maximum number of reserved push
21422142
streams the client will accept at any given time. Once the current number of
21432143
currently reserved push streams exceeds reaches this limit, new push streams
2144-
sent by the server will be automatically rejected.
2144+
sent by the server will be automatically rejected. The minimum allowed value
2145+
is 0. The maximum allowed value is 2<sup>32</sup>-1. A negative value sets
2146+
this option to the maximum allowed value. **Default:** `200`.
21452147
* `maxSendHeaderBlockLength` {number} Sets the maximum allowed size for a
21462148
serialized, compressed block of headers. Attempts to send headers that
21472149
exceed this limit will result in a `'frameError'` event being emitted

0 commit comments

Comments
 (0)