Quickfix for proxy example to properly handle compression changes

This commit is contained in:
radare-travis 2015-05-16 01:08:41 +00:00
parent 790aaaad1a
commit ad2ad01787

View File

@ -125,6 +125,8 @@ srv.on('login', function(client) {
}
if(!endedClient)
client.write(packet.id, packet);
if (packet.id === 0x46) // Set compression
client.compressionThreshold = packet.threshold;
}
});
var buffertools = require('buffertools');