Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuigi Pinca <luigipinca@gmail.com>2021-10-16 20:55:31 +0300
committerLuigi Pinca <luigipinca@gmail.com>2021-10-19 21:19:51 +0300
commit78e8f082abaf43ec6f3025bdc57b6aee78353ec1 (patch)
tree6d61251a63afe17cf523ac247fc899cfb74cc461 /doc/api/http.md
parentd6c3a1075731052fd7199bc73be11a54e23c10be (diff)
doc: specify that maxFreeSockets is per host
The `maxFreeSockets` option specifies the maximum number of free sockets per host. PR-URL: https://github.com/nodejs/node/pull/40483 Fixes: https://github.com/nodejs/node/issues/40446 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Diffstat (limited to 'doc/api/http.md')
-rw-r--r--doc/api/http.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/http.md b/doc/api/http.md
index 9c9d8303627..09aa425b0f9 100644
--- a/doc/api/http.md
+++ b/doc/api/http.md
@@ -158,7 +158,7 @@ changes:
all hosts in total. Each request will use a new socket
until the maximum is reached.
**Default:** `Infinity`.
- * `maxFreeSockets` {number} Maximum number of sockets to leave open
+ * `maxFreeSockets` {number} Maximum number of sockets per host to leave open
in a free state. Only relevant if `keepAlive` is set to `true`.
**Default:** `256`.
* `scheduling` {string} Scheduling strategy to apply when picking