mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
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:
1 parent
599d1dc841
commit
9bfd40466f
1 file changed
+3
-3
+3
-3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user