mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
gzip/gunzip per destination
This commit is contained in:
parent
9f1e496fa4
commit
a32d82f05b
2 changed files with 24 additions and 17 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue