2007-03-10 zzz

* Streaming lib: Change initial RTT deviation from RTT to RTT/2
      to reduce early RTO values
This commit is contained in:
zzz
2007-03-10 08:45:27 +00:00
committed by zzz
parent 8e2849b7e5
commit d6c8a4d9eb
3 changed files with 8 additions and 4 deletions

View File

@ -205,7 +205,7 @@ public class ConnectionOptions extends I2PSocketOptionsImpl {
public int getRTT() { return _rtt; }
public void setRTT(int ms) {
if (_rto == 0) {
_rttDev = ms;
_rttDev = ms / 2;
_rto = ms + ms / 2;
}
synchronized (_trend) {

View File

@ -1,4 +1,8 @@
$Id: history.txt,v 1.556 2007-03-07 00:11:46 zzz Exp $
$Id: history.txt,v 1.557 2007-03-08 13:55:18 zzz Exp $
2007-03-10 zzz
* Streaming lib: Change initial RTT deviation from RTT to RTT/2
(RFC 2988) to reduce early RTO values
2007-03-08 zzz
* i2psnark changes to improve upload performance:

View File

@ -15,9 +15,9 @@ import net.i2p.CoreVersion;
*
*/
public class RouterVersion {
public final static String ID = "$Revision: 1.492 $ $Date: 2007-03-07 00:11:45 $";
public final static String ID = "$Revision: 1.493 $ $Date: 2007-03-08 13:55:17 $";
public final static String VERSION = "0.6.1.27";
public final static long BUILD = 6;
public final static long BUILD = 7;
public static void main(String args[]) {
System.out.println("I2P Router version: " + VERSION + "-" + BUILD);
System.out.println("Router ID: " + RouterVersion.ID);