From 51560a8ec8ee58169d1927b7d20b703d0161a144 Mon Sep 17 00:00:00 2001 From: zzz <zzz@i2pmail.org> Date: Fri, 8 Jan 2021 11:27:53 -0500 Subject: [PATCH] i2ptunnel: Disable shared clients (DSA) (part 2) missed case in 2020-12-29 checkin --- .../java/src/net/i2p/i2ptunnel/I2PTunnelClientBase.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelClientBase.java b/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelClientBase.java index f84aa8575a..4ae4821eaf 100644 --- a/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelClientBase.java +++ b/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelClientBase.java @@ -291,10 +291,13 @@ public abstract class I2PTunnelClientBase extends I2PTunnelTask implements Runna _socketManagerState = SocketManagerState.INIT; // We could be here a LONG time, holding the lock socketManager = buildSocketManager(tunnel, pkf); +/* + since we enabled ratchet by default, we're not compatible with ancient servers anyway. // FIXME may not be the right place for this I2PSession sub = addSubsession(tunnel); if (sub != null && _log.shouldLog(Log.WARN)) _log.warn("Added subsession " + sub); +*/ } else { if (_log.shouldLog(Log.INFO)) _log.info(tunnel.getClientOptions().getProperty("inbound.nickname") + ": Not building a new socket manager since the old one is open [s=" + s + "]"); -- GitLab