diff --git a/apps/streaming/java/src/net/i2p/client/streaming/Connection.java b/apps/streaming/java/src/net/i2p/client/streaming/Connection.java index 5ae4482d24..59f640b0b2 100644 --- a/apps/streaming/java/src/net/i2p/client/streaming/Connection.java +++ b/apps/streaming/java/src/net/i2p/client/streaming/Connection.java @@ -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; diff --git a/history.txt b/history.txt index 3c9da714f2..7676c90cb4 100644 --- a/history.txt +++ b/history.txt @@ -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 diff --git a/router/java/src/net/i2p/router/RouterVersion.java b/router/java/src/net/i2p/router/RouterVersion.java index 0d8184e1a1..b40cedda93 100644 --- a/router/java/src/net/i2p/router/RouterVersion.java +++ b/router/java/src/net/i2p/router/RouterVersion.java @@ -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);