diff options
author | Tim Costa <tim@timcosta.io> | 2019-10-23 01:17:03 +0300 |
---|---|---|
committer | Myles Borins <mylesborins@google.com> | 2019-12-18 02:17:20 +0300 |
commit | 172228047a1c07a57056496765b7eaabae9b07df (patch) | |
tree | 7e1daa68638b0e92be3fd07bfb2cbbd03c178f0a /doc/api | |
parent | 2430dd8ecbdaf6f0dae3e67173528e2969cafbdc (diff) |
http,https: increase server headers timeout
Fixes: https://github.com/nodejs/node/issues/24980
Refs: https://github.com/nodejs/node/commit/eb43bc04b1
PR-URL: https://github.com/nodejs/node/pull/30071
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/http.md | 2 | ||||
-rw-r--r-- | doc/api/https.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/http.md b/doc/api/http.md index 5636a4e1f15..3550136aebb 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -1107,7 +1107,7 @@ Stops the server from accepting new connections. See [`net.Server.close()`][]. added: v11.3.0 --> -* {number} **Default:** `40000` +* {number} **Default:** `60000` Limit the amount of time the parser will wait to receive the complete HTTP headers. diff --git a/doc/api/https.md b/doc/api/https.md index 01e07a24d8a..252d4bb3395 100644 --- a/doc/api/https.md +++ b/doc/api/https.md @@ -94,7 +94,7 @@ See [`server.close()`][`http.close()`] from the HTTP module for details. added: v11.3.0 --> -* {number} **Default:** `40000` +* {number} **Default:** `60000` See [`http.Server#headersTimeout`][]. |