Skip to content

Commit a23e092

Browse files
samuel871211aduh95
authored andcommitted
doc: update Http2SecureServer.on("timeout") default value
Signed-off-by: YuSheng Chen <[email protected]> PR-URL: #64187 Reviewed-By: Tim Perry <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Stephen Belanger <[email protected]> Reviewed-By: Ulises Gascón <[email protected]>
1 parent 79d9886 commit a23e092

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

doc/api/http2.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2669,11 +2669,15 @@ server.on('stream', (stream, headers, flags) => {
26692669

26702670
<!-- YAML
26712671
added: v8.4.0
2672+
changes:
2673+
- version: v13.0.0
2674+
pr-url: https://github.com/nodejs/node/pull/27558
2675+
description: The default timeout changed from 120s to 0 (no timeout).
26722676
-->
26732677

26742678
The `'timeout'` event is emitted when there is no activity on the Server for
26752679
a given number of milliseconds set using `http2secureServer.setTimeout()`.
2676-
**Default:** 2 minutes.
2680+
**Default:** 0 (no timeout)
26772681

26782682
#### Event: `'unknownProtocol'`
26792683

0 commit comments

Comments
 (0)