Skip to content

Commit

Permalink
doc: update http.setMaxIdleHTTPParsers arguments
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
debadree25 authored Jan 14, 2023
1 parent 1022c6f commit 67a9ed3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -3777,17 +3777,17 @@ try {
}
```

## `http.setMaxIdleHTTPParsers`
## `http.setMaxIdleHTTPParsers(max)`

<!-- YAML
added:
- v18.8.0
- v16.18.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
Expand Down

0 comments on commit 67a9ed3

Please sign in to comment.