Skip to content

Commit 67a9ed3

Browse files
authored
doc: update http.setMaxIdleHTTPParsers arguments
Fixes: #46160 PR-URL: #46168 Reviewed-By: Paolo Insogna <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 1022c6f commit 67a9ed3

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
@@ -3777,17 +3777,17 @@ try {
37773777
}
37783778
```
37793779

3780-
## `http.setMaxIdleHTTPParsers`
3780+
## `http.setMaxIdleHTTPParsers(max)`
37813781

37823782
<!-- YAML
37833783
added:
37843784
- v18.8.0
37853785
- v16.18.0
37863786
-->
37873787

3788-
* {number}
3788+
* `max` {number} **Default:** `1000`.
37893789

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

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

0 commit comments

Comments
 (0)