diff --git a/lib/http/base.js b/lib/http/base.js index 917d68ab..5a0279f1 100644 --- a/lib/http/base.js +++ b/lib/http/base.js @@ -1443,13 +1443,6 @@ Response.prototype.error = function error(code, err) { code: err.code } }); - - try { - this.req.destroy(); - this.req.socket.destroy(); - } catch (e) { - ; - } }; Response.prototype.redirect = function redirect(code, url) {