From 6e355efcffba5a4e4ab5fcfd956b1e81251cb4dd Mon Sep 17 00:00:00 2001 From: Debadree Chatterjee Date: Sun, 15 Jan 2023 03:30:15 +0530 Subject: [PATCH] doc: update http.setMaxIdleHTTPParsers arguments Fixes: https://github.com/nodejs/node/issues/46160 PR-URL: https://github.com/nodejs/node/pull/46168 Reviewed-By: Paolo Insogna Reviewed-By: Mohammed Keyvanzadeh Reviewed-By: Darshan Sen Reviewed-By: Matteo Collina Reviewed-By: Luigi Pinca --- doc/api/http.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/api/http.md b/doc/api/http.md index bf89f618e05359..2ef07f707e6d74 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -3731,7 +3731,7 @@ try { } ``` -## `http.setMaxIdleHTTPParsers` +## `http.setMaxIdleHTTPParsers(max)` -* {number} +* `max` {number} **Default:** `1000`. -Set the maximum number of idle HTTP parsers. **Default:** `1000`. +Set the maximum number of idle HTTP parsers. [RFC 8187]: https://www.rfc-editor.org/rfc/rfc8187.txt [`'ERR_HTTP_CONTENT_LENGTH_MISMATCH'`]: errors.md#err_http_content_length_mismatch