Changeset 35b6926


Ignore:
Timestamp:
Nov 25, 2013 7:21:27 PM (6 years ago)
Author:
zab2 <zab2@…>
Branches:
master
Children:
ce0596d
Parents:
dbdf36d
Message:

Ticket #1047 : Do not adjust window on receiving dups.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • apps/streaming/java/src/net/i2p/client/streaming/ConnectionPacketHandler.java

    rdbdf36d r35b6926  
    366366        boolean congested = false;
    367367        if ( (!isNew) && (sequenceNum > 0) ) {
    368             // dup real packet, or they told us to back off
    369             int oldSize = con.getOptions().getWindowSize();
    370             con.congestionOccurred();
    371             oldSize >>>= 1;
    372             if (oldSize <= 0)
    373                 oldSize = 1;
    374 
    375             // setRTT has its own ceiling
    376             //con.getOptions().setRTT(con.getOptions().getRTT() + 10*1000);
    377             con.getOptions().setWindowSize(oldSize);
    378 
    379368            if (_log.shouldLog(Log.DEBUG))
    380                 _log.debug("Congestion occurred - new windowSize " + oldSize + " / " + con.getOptions().getWindowSize() + " congestionSeenAt: "
    381                            + con.getLastCongestionSeenAt() + " (#resends: " + numResends
    382                            + ") for " + con);
    383 
     369                _log.debug("Congestion occurred on the sending side. Not adjusting window "+con);
    384370
    385371            congested = true;
  • router/java/src/net/i2p/router/RouterVersion.java

    rdbdf36d r35b6926  
    1919    public final static String ID = "Monotone";
    2020    public final static String VERSION = CoreVersion.VERSION;
    21     public final static long BUILD = 32;
     21    public final static long BUILD = 33;
    2222
    2323    /** for example "-test" */
Note: See TracChangeset for help on using the changeset viewer.