Changeset 3af766b


Ignore:
Timestamp:
Jul 6, 2013 1:18:19 PM (7 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
7429762
Parents:
614b8b4
Message:
  • TunnelPool?: Don't reuse peers for exploratory tunnels
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • history.txt

    r614b8b4 r3af766b  
     12013-07-06 zzz
     2 * TunnelPool: Don't reuse peers for exploratory tunnels
     3
    142013-07-04 zzz
    25 * Streaming:
  • router/java/src/net/i2p/router/RouterVersion.java

    r614b8b4 r3af766b  
    1919    public final static String ID = "Monotone";
    2020    public final static String VERSION = CoreVersion.VERSION;
    21     public final static long BUILD = 17;
     21    public final static long BUILD = 18;
    2222
    2323    /** for example "-test" */
  • router/java/src/net/i2p/router/tunnel/pool/TunnelPool.java

    r614b8b4 r3af766b  
    10851085            if (len < 0)
    10861086                len = settings.getLength();
    1087             if (len > 0 && _context.random().nextBoolean()) {
     1087            if (len > 0 && (!settings.isExploratory()) && _context.random().nextBoolean()) {
    10881088                // look for a tunnel to reuse, if the right length and expiring soon
    10891089                // ignore variance for now.
Note: See TracChangeset for help on using the changeset viewer.