Skip to content

Commit 9bfd404

Browse files
debadree25juanarbol
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 599d1dc commit 9bfd404

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
@@ -3693,15 +3693,15 @@ try {
36933693
}
36943694
```
36953695

3696-
## `http.setMaxIdleHTTPParsers`
3696+
## `http.setMaxIdleHTTPParsers(max)`
36973697

36983698
<!-- YAML
36993699
added: v18.8.0
37003700
-->
37013701

3702-
* {number}
3702+
* `max` {number} **Default:** `1000`.
37033703

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

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

0 commit comments

Comments
 (0)