mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
doc: fix http.Agent timeout option description
By default the agent options are passed to `net.createConnection()` which sets the timeout on the socket immediately after creating it. PR-URL: https://github.com/nodejs/node/pull/25489 Reviewed-By: Anna Henningsen <anna@addaleax.net>
This commit is contained in:
1 parent
817218c9cf
commit
9dc11764f2
1 file changed
+1
-1
+1
-1
@@ -127,7 +127,7 @@ added: v0.3.4
|
||||
in a free state. Only relevant if `keepAlive` is set to `true`.
|
||||
**Default:** `256`.
|
||||
* `timeout` {number} Socket timeout in milliseconds.
|
||||
This will set the timeout after the socket is connected.
|
||||
This will set the timeout when the socket is created.
|
||||
|
||||
`options` in [`socket.connect()`][] are also supported.
|
||||
|
||||
|
||||
Reference in new issue
Block a user