mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
doc: update Http2SecureServer.on("timeout") default value
Signed-off-by: YuSheng Chen <samuel871211@gmail.com> PR-URL: https://github.com/nodejs/node/pull/64187 Reviewed-By: Tim Perry <pimterry@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com> Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
This commit is contained in:
1 parent
af9ea9cfcf
commit
bc943cd34a
1 file changed
+5
-1
+5
-1
@@ -2669,11 +2669,15 @@ server.on('stream', (stream, headers, flags) => {
|
||||
|
||||
<!-- YAML
|
||||
added: v8.4.0
|
||||
changes:
|
||||
- version: v13.0.0
|
||||
pr-url: https://github.com/nodejs/node/pull/27558
|
||||
description: The default timeout changed from 120s to 0 (no timeout).
|
||||
-->
|
||||
|
||||
The `'timeout'` event is emitted when there is no activity on the Server for
|
||||
a given number of milliseconds set using `http2secureServer.setTimeout()`.
|
||||
**Default:** 2 minutes.
|
||||
**Default:** 0 (no timeout)
|
||||
|
||||
#### Event: `'unknownProtocol'`
|
||||
|
||||
|
||||
Reference in new issue
Block a user