Skip to content

Commit

Permalink
Merge pull request #258 from huangyoukun/youkun/route
Browse files Browse the repository at this point in the history
fix(router): let it going while response closing
  • Loading branch information
huangyoukun committed Oct 12, 2018
2 parents 912b754 + a7be838 commit 5ca7ce4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/proxy/http.route.js
Expand Up @@ -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() {
Expand Down

0 comments on commit 5ca7ce4

Please sign in to comment.