From a7be8382ab9b2ecb464f71985aae0d2281a3e9fd Mon Sep 17 00:00:00 2001 From: youkunhuang Date: Fri, 12 Oct 2018 13:59:05 +0800 Subject: [PATCH] fix(router): let it going while response closing --- bin/proxy/http.route.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/proxy/http.route.js b/bin/proxy/http.route.js index a32c3065..aa6b7129 100644 --- a/bin/proxy/http.route.js +++ b/bin/proxy/http.route.js @@ -245,7 +245,7 @@ module.exports = function(req, res) { res.__hasClosed = true; logger.debug('response has close'); - this.emit('done');// let it going + // this.emit('done');// let it going }); res.once('done', function() {