nodejitsu/node-http-proxy — pull request #709 by minrk (2014-10-01 02:57:29+00:00)
Title: close socket if upstream request fails

adds socket.end() to on('error') handlers for proxyReq and proxySocket

covers a case that I thought I was testing for in #708, but missed because the client `error` event simply didn't fire.