Skip to content

Commit 337bfd0

Browse files
debadree25RafaelGSS
authored andcommitted
doc: update http.setMaxIdleHTTPParsers arguments
Fixes: nodejs#46160 PR-URL: nodejs#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 2a00525 commit 337bfd0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/http.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3773,17 +3773,17 @@ try {
37733773
}
37743774
```
37753775

3776-
## `http.setMaxIdleHTTPParsers`
3776+
## `http.setMaxIdleHTTPParsers(max)`
37773777

37783778
<!-- YAML
37793779
added:
37803780
- v18.8.0
37813781
- v16.18.0
37823782
-->
37833783

3784-
* {number}
3784+
* `max` {number} **Default:** `1000`.
37853785

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

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

0 commit comments

Comments
 (0)