coyotte508/pokemon-online — Issue #53: Use appropriate zip compression level 
Author: coyotte508
Created: 2012-01-06 06:14:23+00:00
State: open

On the server, there are several occasions in which you want to compress. Once zip compression is used where needed, make sure the compression levels are appropriate. For example announcement and tier are a one time compression for everybody evergreen, so you want to use maximum level, but for reconnect you may want to use a low level of compression for the packets to send. Same when automatically compressing a large packet. The automatic compression of a large packet could be done in another thread, the network thread, too.