Files
node/lib
Luigi Pinca 4b6e4c1eb1 http: make timeout event work with agent timeout
The `'timeout'` event is currently not emitted on the `ClientRequest`
instance when the socket timeout expires if only the `timeout` option
of the agent is set. This happens because, under these circumstances,
`listenSocketTimeout()` is not called.

This commit fixes the issue by calling it also when only the agent
`timeout` option is set.

PR-URL: https://github.com/nodejs/node/pull/25488
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
2019-01-31 11:51:25 +01:00
..
2018-12-10 17:07:18 +01:00
2018-11-06 10:58:42 -05:00
2018-11-20 10:42:31 -08:00
2019-01-27 17:20:13 +01:00
2019-01-16 12:41:56 +09:00
2018-07-16 15:55:15 -07:00
2019-01-28 16:25:07 -08:00
2018-12-29 13:36:57 -05:00
2019-01-05 21:36:46 +01:00