Hook the Compressor into RemotePeer
authorManuel Nickschas <sputnick@quassel-irc.org>
Sun, 16 Feb 2014 21:28:21 +0000 (22:28 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sun, 16 Feb 2014 21:28:21 +0000 (22:28 +0100)
commit249a178a775bce425a83aefd7c7c39a868ebfe98
tree526808ca8a6c9f531977e8fca176134cfc3b7b0f
parent9ad83fb2c64caf43b3f565cc79def6d43d30a5c1
Hook the Compressor into RemotePeer

Instead of reading from/writing to the socket directly, RemotePeer now
goes through a Compressor instance. At this time, no actual compression
will happen though.

Note that the legacy protocol does not support streaming compression, which
is why it sets a compression level of NoCompression.
src/common/protocols/datastream/datastreampeer.cpp
src/common/protocols/legacy/legacypeer.cpp
src/common/remotepeer.cpp
src/common/remotepeer.h