I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Unverified Commit 86cbbd80 authored by zzz's avatar zzz
Browse files

Tunnels: Give up on building through U routers

parent 18f598bc
No related branches found
No related tags found
No related merge requests found
......@@ -408,6 +408,8 @@ public abstract class TunnelPeerSelector extends ConnectChecker {
* @return true if yes
*/
private boolean filterUnreachable(boolean isInbound, boolean isExploratory) {
return true;
/*
if (SystemVersion.isSlow() || ctx.router().getUptime() < 65*60*1000)
return true;
if (isExploratory) {
......@@ -427,6 +429,7 @@ public abstract class TunnelPeerSelector extends ConnectChecker {
return ctx.getProperty(PROP_OUTBOUND_CLIENT_EXCLUDE_UNREACHABLE, DEFAULT_OUTBOUND_CLIENT_EXCLUDE_UNREACHABLE);
}
}
*/
}
......@@ -440,6 +443,8 @@ public abstract class TunnelPeerSelector extends ConnectChecker {
* @return true unless configured otherwise
*/
protected boolean filterSlow(boolean isInbound, boolean isExploratory) {
return true;
/*
if (isExploratory) {
if (isInbound)
return ctx.getProperty(PROP_INBOUND_EXPLORATORY_EXCLUDE_SLOW, true);
......@@ -451,6 +456,7 @@ public abstract class TunnelPeerSelector extends ConnectChecker {
else
return ctx.getProperty(PROP_OUTBOUND_CLIENT_EXCLUDE_SLOW, true);
}
*/
}
/** see HashComparator */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment