diff options
author | JoseĢ F. Romaniello <jfromaniello@gmail.com> | 2015-12-31 11:51:46 -0300 |
---|---|---|
committer | Fedor Indutny <fedor@indutny.com> | 2016-01-04 13:35:53 -0500 |
commit | 5a2541de819e4457b05f4eca14d1926869b15be5 (patch) | |
tree | f902ff64c7af4375b462584468fcedcd0fc7ed40 /test/parallel/test-cluster-shared-leak.js | |
parent | 68bafb8baf6548f60a3fa5b27e8ff4bb50952d7c (diff) | |
download | android-node-v8-5a2541de819e4457b05f4eca14d1926869b15be5.tar.gz android-node-v8-5a2541de819e4457b05f4eca14d1926869b15be5.tar.bz2 android-node-v8-5a2541de819e4457b05f4eca14d1926869b15be5.zip |
http: handle errors on idle sockets
This change adds a new event handler to the `error` event of the socket
after it has been used by the http_client.
The purpose of this change is to catch errors on *keep alived*
connections from idle sockets that otherwise will cause an uncaugh error
event on the application.
Fix: #3595
PR-URL: https://github.com/nodejs/node/pull/4482
Reviewed-By: Fedor Indutny <fedor@indutny.com>
Diffstat (limited to 'test/parallel/test-cluster-shared-leak.js')
0 files changed, 0 insertions, 0 deletions