Changeset 27ce280


Ignore:
Timestamp:
Dec 9, 2013 4:11:53 PM (7 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
04c342e
Parents:
3acfdbe
Message:

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

Location:
apps
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • apps/i2psnark/java/src/org/klomp/snark/I2PSnarkUtil.java

    r3acfdbe r27ce280  
    253253            if (opts.getProperty("i2p.streaming.disableRejectLogging") == null)
    254254                opts.setProperty("i2p.streaming.disableRejectLogging", "true");
     255            if (opts.getProperty("i2p.streaming.answerPings") == null)
     256                opts.setProperty("i2p.streaming.answerPings", "false");
    255257            _manager = I2PSocketManagerFactory.createManager(_i2cpHost, _i2cpPort, opts);
    256258            _connecting = false;
  • apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelClientBase.java

    r3acfdbe r27ce280  
    195195        if (!dccEnabled)
    196196            tunnel.getClientOptions().setProperty("i2cp.dontPublishLeaseSet", "true");
     197        if (tunnel.getClientOptions().getProperty("i2p.streaming.answerPings") == null)
     198            tunnel.getClientOptions().setProperty("i2p.streaming.answerPings", "false");
    197199       
    198200        boolean openNow = !Boolean.parseBoolean(tunnel.getClientOptions().getProperty("i2cp.delayOpen"));
Note: See TracChangeset for help on using the changeset viewer.