From c00edc93dc9bca5b4433ec8f9ad590cc0b714518 Mon Sep 17 00:00:00 2001 From: Lloyd Hilaiel <lloyd@hilaiel.com> Date: Tue, 22 Nov 2011 17:15:05 -0700 Subject: [PATCH] on a hard connection error during http forwarding, don't end the client reqeust, instead let the client formulate the error code and message --- lib/http_forward.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/http_forward.js b/lib/http_forward.js index 95db6a13a..deafa9514 100644 --- a/lib/http_forward.js +++ b/lib/http_forward.js @@ -34,7 +34,6 @@ module.exports = function(dest, req, res, cb) { cb(); }); }).on('error', function(e) { - res.end(); cb(e); }); -- GitLab