diff --git a/doc/api/http.md b/doc/api/http.md index 6e6df57bbe1..905f7cb9897 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -1124,7 +1124,7 @@ const hasContentType = request.hasHeader('content-type'); ### `request.maxHeadersCount` -* Type: {number} **Default:** `2000` +* Type: {number} **Default:** `1000` Limits maximum response headers count. If set to 0, no limit will be applied. @@ -1895,7 +1895,7 @@ added: v5.7.0 added: v0.7.0 --> -* Type: {number} **Default:** `2000` +* Type: {number} **Default:** `1000` Limits maximum incoming headers count. If set to 0, no limit will be applied. diff --git a/doc/api/https.md b/doc/api/https.md index b08e53d5995..242938d0c9d 100644 --- a/doc/api/https.md +++ b/doc/api/https.md @@ -197,7 +197,7 @@ This method is identical to [`server.listen()`][] from [`net.Server`][]. ### `server.maxHeadersCount` -* Type: {number} **Default:** `2000` +* Type: {number} **Default:** `1000` See [`server.maxHeadersCount`][] in the `node:http` module.