forked from I2P_Developers/i2p.i2p
OCMOSJ: Pick a OB tunnel at random, not with the OBEP closest
to the lease, as that may be reducing the odds of trying a different path and hurting connection reliability. While the change may slightly increase connection congestion, if it helps with reliability then it's worth it.
This commit is contained in:
@ -18,7 +18,7 @@ public class RouterVersion {
|
|||||||
/** deprecated */
|
/** deprecated */
|
||||||
public final static String ID = "Monotone";
|
public final static String ID = "Monotone";
|
||||||
public final static String VERSION = CoreVersion.VERSION;
|
public final static String VERSION = CoreVersion.VERSION;
|
||||||
public final static long BUILD = 18;
|
public final static long BUILD = 19;
|
||||||
|
|
||||||
/** for example "-test" */
|
/** for example "-test" */
|
||||||
public final static String EXTRA = "";
|
public final static String EXTRA = "";
|
||||||
|
@ -727,8 +727,10 @@ public class OutboundClientMessageOneShotJob extends JobImpl {
|
|||||||
* Anonymity issues?
|
* Anonymity issues?
|
||||||
*/
|
*/
|
||||||
private TunnelInfo selectOutboundTunnel() {
|
private TunnelInfo selectOutboundTunnel() {
|
||||||
Hash gw = _lease.getGateway();
|
// hurts reliability? let's try picking at random again
|
||||||
return getContext().tunnelManager().selectOutboundTunnel(_from.calculateHash(), gw);
|
//Hash gw = _lease.getGateway();
|
||||||
|
//return getContext().tunnelManager().selectOutboundTunnel(_from.calculateHash(), gw);
|
||||||
|
return getContext().tunnelManager().selectOutboundTunnel(_from.calculateHash());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user