You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
streamResetBurst and streamResetRate options are missing in the documentation of http2.createSecureServer #57169
The new options were added in Node 18.18.2, 20.8.1 und 21.0 to mitigate RST attacks.
It is documented for http2.createServer, but missing in http2.createSecureServer.
I am pretty sure it works for both, because the way createServer and createSecureServer share the code handling the options. It also makes absolutely no sense for them to work for createServer and not for createSecureServer.
The Typescript typings are also wrong. Only createServer typings recognizes streamResetBurst and streamResetRate. If I want to use them for createSecureServer, i have to supress typescript errors for this line and then it seems to work.
Activity
Sujal-Raj commentedon Feb 24, 2025
Is this open to work on?
doc: add streamResetBurst and streamResetRate
doc: add streamResetBurst and streamResetRate
gunters63 commentedon Feb 26, 2025
Note that this merge request did not resolve the wrong typings.
I guess I will create another bug for this.
doc: add streamResetBurst and streamResetRate
doc: add streamResetBurst and streamResetRate
doc: add streamResetBurst and streamResetRate
doc: add streamResetBurst and streamResetRate
doc: add streamResetBurst and streamResetRate
doc: add streamResetBurst and streamResetRate
doc: add streamResetBurst and streamResetRate