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 <paolo@cowtech.it>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
Debadree Chatterjee authored and Juan José Arboleda committed 2023-01-31 08:04:19 -05:00
1 parent 599d1dc841
commit 9bfd40466f
1 file changed
+3 -3
+3 -3
View File
@@ -3693,15 +3693,15 @@ try {
}
```
## `http.setMaxIdleHTTPParsers`
## `http.setMaxIdleHTTPParsers(max)`
<!-- YAML
added: v18.8.0
-->
* {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