forked from I2P_Developers/i2p.i2p
I2CP: Add PROP_GZIP
i2ptunnel: Disable I2CP gzip for HTTP server tunnels i2psnark: Disable I2CP gzip
This commit is contained in:
@ -295,6 +295,9 @@ public class I2PSnarkUtil {
|
||||
opts.setProperty("i2p.streaming.answerPings", "false");
|
||||
if (opts.getProperty(I2PClient.PROP_SIGTYPE) == null)
|
||||
opts.setProperty(I2PClient.PROP_SIGTYPE, "EdDSA_SHA512_Ed25519");
|
||||
// assume compressed content
|
||||
if (opts.getProperty(I2PClient.PROP_GZIP) == null)
|
||||
opts.setProperty(I2PClient.PROP_GZIP, "false");
|
||||
_manager = I2PSocketManagerFactory.createManager(_i2cpHost, _i2cpPort, opts);
|
||||
if (_manager != null)
|
||||
_startedTime = _context.clock().now();
|
||||
|
Reference in New Issue
Block a user