summaryrefslogtreecommitdiff
path: root/doc/api/http2.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/http2.md')
-rw-r--r--doc/api/http2.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/api/http2.md b/doc/api/http2.md
index 53461ac58d..7ac4f6ffa1 100644
--- a/doc/api/http2.md
+++ b/doc/api/http2.md
@@ -1941,6 +1941,9 @@ error will be thrown.
<!-- YAML
added: v8.4.0
changes:
+ - 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
description: The `PADDING_STRATEGY_CALLBACK` has been made equivalent to
@@ -2001,6 +2004,9 @@ changes:
streams for the remote peer as if a `SETTINGS` frame had been received. Will
be overridden if the remote peer sets its own value for
`maxConcurrentStreams`. **Default:** `100`.
+ * `maxSessionInvalidFrames` {integer} Sets the maximum number of invalid
+ frames that will be tolerated before the session is closed.
+ **Default:** `1000`.
* `settings` {HTTP/2 Settings Object} The initial settings to send to the
remote peer upon connection.
* `Http1IncomingMessage` {http.IncomingMessage} Specifies the
@@ -2053,6 +2059,9 @@ server.listen(80);
<!-- YAML
added: v8.4.0
changes:
+ - 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
description: The `PADDING_STRATEGY_CALLBACK` has been made equivalent to
@@ -2113,6 +2122,9 @@ changes:
streams for the remote peer as if a `SETTINGS` frame had been received. Will
be overridden if the remote peer sets its own value for
`maxConcurrentStreams`. **Default:** `100`.
+ * `maxSessionInvalidFrames` {integer} Sets the maximum number of invalid
+ frames that will be tolerated before the session is closed.
+ **Default:** `1000`.
* `settings` {HTTP/2 Settings Object} The initial settings to send to the
remote peer upon connection.
* ...: Any [`tls.createServer()`][] options can be provided. For