diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/http2.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/api/http2.md b/doc/api/http2.md index 7ac4f6ffa1..c440b92a7d 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -1943,6 +1943,9 @@ added: v8.4.0 changes: - version: REPLACEME pr-url: https://github.com/nodejs/node/pull/30534 + description: Added `maxSessionRejectedStreams` option with a default of 100. + - version: REPLACEME + pr-url: https://github.com/nodejs/node/pull/30534 description: Added `maxSessionInvalidFrames` option with a default of 1000. - version: v13.0.0 pr-url: https://github.com/nodejs/node/pull/29144 @@ -2007,6 +2010,12 @@ changes: * `maxSessionInvalidFrames` {integer} Sets the maximum number of invalid frames that will be tolerated before the session is closed. **Default:** `1000`. + * `maxSessionRejectedStreams` {integer} Sets the maximum number of rejected + upon creation streams that will be tolerated before the session is closed. + Each rejection is associated with an `NGHTTP2_ENHANCE_YOUR_CALM` + error that should tell the peer to not open any more streams, continuing + to open streams is therefore regarded as a sign of a misbehaving peer. + **Default:** `100`. * `settings` {HTTP/2 Settings Object} The initial settings to send to the remote peer upon connection. * `Http1IncomingMessage` {http.IncomingMessage} Specifies the @@ -2061,6 +2070,9 @@ added: v8.4.0 changes: - version: REPLACEME pr-url: https://github.com/nodejs/node/pull/30534 + description: Added `maxSessionRejectedStreams` option with a default of 100. + - version: REPLACEME + pr-url: https://github.com/nodejs/node/pull/30534 description: Added `maxSessionInvalidFrames` option with a default of 1000. - version: v13.0.0 pr-url: https://github.com/nodejs/node/pull/29144 @@ -2125,6 +2137,12 @@ changes: * `maxSessionInvalidFrames` {integer} Sets the maximum number of invalid frames that will be tolerated before the session is closed. **Default:** `1000`. + * `maxSessionRejectedStreams` {integer} Sets the maximum number of rejected + upon creation streams that will be tolerated before the session is closed. + Each rejection is associated with an `NGHTTP2_ENHANCE_YOUR_CALM` + error that should tell the peer to not open any more streams, continuing + to open streams is therefore regarded as a sign of a misbehaving peer. + **Default:** `100`. * `settings` {HTTP/2 Settings Object} The initial settings to send to the remote peer upon connection. * ...: Any [`tls.createServer()`][] options can be provided. For |