forked from I2P_Developers/i2p.i2p
i2ptunnel: Fix typo for SSL outproxy host
for new and existing installs Reported by Opicaak
This commit is contained in:
@ -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)
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user