From afb5bead0ef5a28d6d9290470381363d09d294bb Mon Sep 17 00:00:00 2001 From: Sujal Raj Date: Mon, 24 Feb 2025 17:29:14 +0530 Subject: [PATCH 1/2] doc: add streamResetBurst and streamResetRate Added missing documentation for the streamResetBurst and streamResetRate options in the http2.createSecureServer section. This ensures developers are aware of these configurable options. Fixes: https://github.com/nodejs/node/issues/57169 Refs: https://nodejs.org/docs/latest/api/http2.html#http2createserveroptions-onrequesthandler --- doc/api/http2.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/api/http2.md b/doc/api/http2.md index c53d74b4fc1572..ccf7f77e1b440f 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -3055,6 +3055,9 @@ changes: **Default:** `100`. * `settings` {HTTP/2 Settings Object} The initial settings to send to the remote peer upon connection. + * `streamResetBurst` {number} and `streamResetRate` {number} Sets the rate + limit for the incoming stream reset (RST\_STREAM frame). Both settings must + be set to have any effect, and default to 1000 and 33 respectively. * `remoteCustomSettings` {Array} The array of integer values determines the settings types, which are included in the `customSettings`-property of the received remoteSettings. Please see the `customSettings`-property of the From 2262e7f3114705045f2d5a19bdd9a78b88e63dd2 Mon Sep 17 00:00:00 2001 From: Sujal Raj Date: Wed, 26 Feb 2025 19:16:36 +0530 Subject: [PATCH 2/2] doc: add streamResetBurst and streamResetRate. Added missing documentation for the streamResetBurst and streamResetRate options in the http2.createSecureServer section. This ensures developers are aware of these configurable options. Fixes: https://github.com/nodejs/node/issues?q=%2357169 Refs: https://nodejs.org/docs/latest/api/http2.html#http2createserveroptions-onrequesthandler --- doc/api/http2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/http2.md b/doc/api/http2.md index ccf7f77e1b440f..b6b2ce44ccafdd 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -3057,7 +3057,7 @@ changes: remote peer upon connection. * `streamResetBurst` {number} and `streamResetRate` {number} Sets the rate limit for the incoming stream reset (RST\_STREAM frame). Both settings must - be set to have any effect, and default to 1000 and 33 respectively. + be set to have any effect, and default to 1000 and 33 respectively. * `remoteCustomSettings` {Array} The array of integer values determines the settings types, which are included in the `customSettings`-property of the received remoteSettings. Please see the `customSettings`-property of the