2007-01-15 jrandom
* small guard against unnecessary streaming lib reset packets (thanks Complication!)
This commit is contained in:
@ -247,6 +247,7 @@ public class Connection {
|
|||||||
}
|
}
|
||||||
long now = _context.clock().now();
|
long now = _context.clock().now();
|
||||||
if (_resetSentOn + 10*1000 > now) return; // don't send resets too fast
|
if (_resetSentOn + 10*1000 > now) return; // don't send resets too fast
|
||||||
|
if (_resetReceived) return;
|
||||||
_resetSent = true;
|
_resetSent = true;
|
||||||
if (_resetSentOn <= 0)
|
if (_resetSentOn <= 0)
|
||||||
_resetSentOn = now;
|
_resetSentOn = now;
|
||||||
|
@ -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
|
2007-01-15 zzz
|
||||||
* i2psnark: Add 'Stop All' link on web page
|
* i2psnark: Add 'Stop All' link on web page
|
||||||
|
@ -15,9 +15,9 @@ import net.i2p.CoreVersion;
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class RouterVersion {
|
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 String VERSION = "0.6.1.26";
|
||||||
public final static long BUILD = 4;
|
public final static long BUILD = 5;
|
||||||
public static void main(String args[]) {
|
public static void main(String args[]) {
|
||||||
System.out.println("I2P Router version: " + VERSION + "-" + BUILD);
|
System.out.println("I2P Router version: " + VERSION + "-" + BUILD);
|
||||||
System.out.println("Router ID: " + RouterVersion.ID);
|
System.out.println("Router ID: " + RouterVersion.ID);
|
||||||
|
Reference in New Issue
Block a user