Skip to content

Commit 6e355ef

Browse files
debadree25RafaelGSS
authored andcommitted
doc: update http.setMaxIdleHTTPParsers arguments
Fixes: #46160 PR-URL: #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>
1 parent dc0cdaa commit 6e355ef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/http.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -3731,17 +3731,17 @@ try {
37313731
}
37323732
```
37333733

3734-
## `http.setMaxIdleHTTPParsers`
3734+
## `http.setMaxIdleHTTPParsers(max)`
37353735

37363736
<!-- YAML
37373737
added:
37383738
- v18.8.0
37393739
- v16.18.0
37403740
-->
37413741

3742-
* {number}
3742+
* `max` {number} **Default:** `1000`.
37433743

3744-
Set the maximum number of idle HTTP parsers. **Default:** `1000`.
3744+
Set the maximum number of idle HTTP parsers.
37453745

37463746
[RFC 8187]: https://www.rfc-editor.org/rfc/rfc8187.txt
37473747
[`'ERR_HTTP_CONTENT_LENGTH_MISMATCH'`]: errors.md#err_http_content_length_mismatch

0 commit comments

Comments
 (0)