i2ptunnel: Disable streaming pings for clients (ticket #1142)

i2psnark: Disable streaming pings (ticket #1142)
This commit is contained in:
zzz
2013-12-09 16:11:53 +00:00
parent 3acfdbe8f7
commit 27ce28027d
2 changed files with 4 additions and 0 deletions

View File

@ -252,6 +252,8 @@ public class I2PSnarkUtil {
opts.setProperty("i2p.streaming.enforceProtocol", "true");
if (opts.getProperty("i2p.streaming.disableRejectLogging") == null)
opts.setProperty("i2p.streaming.disableRejectLogging", "true");
if (opts.getProperty("i2p.streaming.answerPings") == null)
opts.setProperty("i2p.streaming.answerPings", "false");
_manager = I2PSocketManagerFactory.createManager(_i2cpHost, _i2cpPort, opts);
_connecting = false;
}