From 9bfd40466fb0aeef0ed8cf980ba6dddb1e613133 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 50fe8a291f6724..bb28a440b79fda 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -3693,15 +3693,15 @@ 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