Skip to content

Commit

Permalink
fix(router): let it going while response closing
Browse files Browse the repository at this point in the history
  • Loading branch information
huangyoukun committed Oct 12, 2018
1 parent 912b754 commit a7be838
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/proxy/http.route.js
Original file line number Diff line number Diff line change
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 a7be838

Please sign in to comment.