i2ptunnel: Fix typo for SSL outproxy host

for new and existing installs
Reported by Opicaak
This commit is contained in:
zzz
2023-01-17 14:32:25 -05:00
parent eb03e19f03
commit 053f261e57
3 changed files with 7 additions and 2 deletions

View File

@ -214,6 +214,8 @@ public abstract class I2PTunnelHTTPClientBase extends I2PTunnelClientBase implem
String s = getTunnel().getClientOptions().getProperty(PROP_SSL_OUTPROXIES);
if (s == null)
return null;
// default config typo fix
s = s.replace("exit.storymcloud.i2p", "exit.stormycloud.i2p");
String[] p = DataHelper.split(s, "[,; \r\n\t]");
int size = p.length;
if (size == 0)

View File

@ -974,7 +974,10 @@ public class GeneralHelper {
}
public String getSslProxies(int tunnel) {
return getProperty(tunnel, I2PTunnelHTTPClient.PROP_SSL_OUTPROXIES, "");
String rv = getProperty(tunnel, I2PTunnelHTTPClient.PROP_SSL_OUTPROXIES, "");
// default config typo fix
rv = rv.replace("exit.storymcloud.i2p", "exit.stormycloud.i2p");
return rv;
}
/**

View File

@ -31,7 +31,7 @@ tunnel.0.option.i2cp.reduceIdleTime=900000
tunnel.0.option.i2cp.reduceOnIdle=true
tunnel.0.option.i2cp.reduceQuantity=1
tunnel.0.option.i2p.streaming.connectDelay=1000
tunnel.0.option.i2ptunnel.httpclient.SSLOutproxies=exit.storymcloud.i2p
tunnel.0.option.i2ptunnel.httpclient.SSLOutproxies=exit.stormycloud.i2p
tunnel.0.option.inbound.length=3
tunnel.0.option.inbound.lengthVariance=0
tunnel.0.option.outbound.length=3