Implement streaming compression support
authorManuel Nickschas <sputnick@quassel-irc.org>
Mon, 17 Feb 2014 21:18:39 +0000 (22:18 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Mon, 17 Feb 2014 21:18:39 +0000 (22:18 +0100)
commitbdb3b8a3086fcd871d2a099fa4a40376f4040e6e
tree2e73210e526fb7360daeddaba3276652fce80d80
parent3156b80615b3783bde9399d0925c745fe3af262e
Implement streaming compression support

This leverages miniz in order to DEFLATE the data stream between
client and core. This is the standard format supported by zlib.

Note that streaming compression currently is unconditionally enabled
for the DataStream protocol, and unconditionally disabled for the
legacy protocol. We'll make them honor the handshake negotiation
later.
src/common/compressor.cpp
src/common/compressor.h