Skip to content

Commit

Permalink
doc: update http.setMaxIdleHTTPParsers arguments
Browse files Browse the repository at this point in the history
Fixes: nodejs#46160
PR-URL: nodejs#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 and RafaelGSS committed Jan 17, 2023
1 parent 2a00525 commit 337bfd0
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 @@ -3773,17 +3773,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 337bfd0

Please sign in to comment.