Changeset 96de87fd


Ignore:
Timestamp:
Jul 18, 2013 10:33:23 PM (7 years ago)
Author:
zab2 <zab2@…>
Branches:
master
Children:
ea4606f
Parents:
55d571f
Message:

compute rttDev in updateRTT

File:
1 edited

Legend:

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

    r55d571f r96de87fd  
    583583            throw new IllegalStateException();
    584584        case FIRST :
    585             _rttDev = _rtt / 2;
    586585            _rto = _rtt + _rtt / 2;
    587586            break;
     
    618617            _initState = AckInit.FIRST;
    619618            setRTT(measuredValue); // no smoothing first sample
     619            _rttDev = _rtt / 2;
    620620            break;
    621621        case FIRST:
Note: See TracChangeset for help on using the changeset viewer.