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 <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>
  • Loading branch information
debadree25 committed 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
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.