gzip/gunzip per destination

This commit is contained in:
orignal 2014-10-07 14:24:31 -04:00
parent 9f1e496fa4
commit a32d82f05b
2 changed files with 24 additions and 17 deletions

View file

@ -3,6 +3,7 @@
#include <thread>
#include <mutex>
#include <cryptopp/gzip.h>
#include "Identity.h"
#include "TunnelPool.h"
#include "CryptoConst.h"
@ -63,6 +64,9 @@ namespace stream
bool m_IsPublic;
std::function<void (Stream *)> m_Acceptor;
CryptoPP::Gzip m_Compressor;
CryptoPP::Gunzip m_Decompressor;
};
class StreamingDestinations