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:
Luigi Pinca authored and Anna Henningsen committed 2019-01-29 00:09:37 +01:00
1 parent 817218c9cf
commit 9dc11764f2
1 file changed
+1 -1
+1 -1
View File
@@ -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.