2007-01-15 jrandom

* small guard against unnecessary streaming lib reset packets
      (thanks Complication!)
This commit is contained in:
jrandom
2007-01-15 06:35:59 +00:00
committed by zzz
parent 9c42830076
commit f4749f2483
3 changed files with 8 additions and 3 deletions

View File

@ -247,6 +247,7 @@ public class Connection {
}
long now = _context.clock().now();
if (_resetSentOn + 10*1000 > now) return; // don't send resets too fast
if (_resetReceived) return;
_resetSent = true;
if (_resetSentOn <= 0)
_resetSentOn = now;

View File

@ -1,4 +1,8 @@
$Id: history.txt,v 1.535 2007-01-14 14:49:35 zzz Exp $
$Id: history.txt,v 1.536 2007-01-14 23:36:06 zzz Exp $
2007-01-15 jrandom
* small guard against unnecessary streaming lib reset packets
(thanks Complication!)
2007-01-15 zzz
* i2psnark: Add 'Stop All' link on web page

View File

@ -15,9 +15,9 @@ import net.i2p.CoreVersion;
*
*/
public class RouterVersion {
public final static String ID = "$Revision: 1.470 $ $Date: 2007-01-14 14:49:33 $";
public final static String ID = "$Revision: 1.471 $ $Date: 2007-01-14 23:36:03 $";
public final static String VERSION = "0.6.1.26";
public final static long BUILD = 4;
public final static long BUILD = 5;
public static void main(String args[]) {
System.out.println("I2P Router version: " + VERSION + "-" + BUILD);
System.out.println("Router ID: " + RouterVersion.ID);