mirror of https://github.com/BTCPrivate/z-nomp.git
compression
This commit is contained in:
parent
ff0e1f6f32
commit
289600de24
|
@ -110,7 +110,9 @@ module.exports = function(logger, portalConfig, poolConfigs){
|
||||||
});
|
});
|
||||||
res.write('\n');
|
res.write('\n');
|
||||||
var uid = Math.random().toString();
|
var uid = Math.random().toString();
|
||||||
|
req.on("close", function() {
|
||||||
_this.liveStatConnections[uid] = res;
|
_this.liveStatConnections[uid] = res;
|
||||||
|
res.flush();
|
||||||
req.on("close", function() {
|
req.on("close", function() {
|
||||||
delete _this.liveStatConnections[uid];
|
delete _this.liveStatConnections[uid];
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue