summaryrefslogtreecommitdiff
path: root/test/parallel/test-http-client-timeout-option-listeners.js
AgeCommit message (Collapse)Author
2016-12-14test: fix http-client-timeout-option-listenersRich Trott
test-http-client-timeout-option-listeners is flaky due to depending on completing operations before a 100ms socket timeout. The socket timeout is an integral part of the test but can be very large. Set to the maximum allowable value. PR-URL: https://github.com/nodejs/node/pull/10224 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
2016-12-08http: remove stale timeout listenersKarl Böhlmark
In order to prevent a memory leak when using keep alive, ensure that the timeout listener for the request is removed when the response has ended. PR-URL: https://github.com/nodejs/node/pull/9440 Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>