diff options
author | Denys Otrishko <shishugi@gmail.com> | 2019-11-18 21:44:21 +0200 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2019-11-28 00:48:28 +0100 |
commit | 9590f577b03f621faf35f60e439b87431d293dee (patch) | |
tree | c013d6e832c7d4beccd2d86ebe3f94150f0135f5 /doc | |
parent | df0f9e47ee96c85c94610a7f1071c97843f5ef9f (diff) | |
download | android-node-v8-9590f577b03f621faf35f60e439b87431d293dee.tar.gz android-node-v8-9590f577b03f621faf35f60e439b87431d293dee.tar.bz2 android-node-v8-9590f577b03f621faf35f60e439b87431d293dee.zip |
http2: allow to configure maximum tolerated invalid frames
PR-URL: https://github.com/nodejs/node/pull/30534
Fixes: https://github.com/nodejs/node/issues/30505
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/http2.md | 12 |
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 |