buffer for compression
allow sending chunks of data prior to end
This commit is contained in:
parent
a8cd7ba9e0
commit
677b367004
|
@ -111,6 +111,7 @@ module.exports = function(logger, portalConfig, poolConfigs){
|
|||
res.write('\n');
|
||||
var uid = Math.random().toString();
|
||||
_this.liveStatConnections[uid] = res;
|
||||
res.flush();
|
||||
req.on("close", function() {
|
||||
delete _this.liveStatConnections[uid];
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue