forked from I2P_Developers/i2p.i2p
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();
|
||||
if (_resetSentOn + 10*1000 > now) return; // don't send resets too fast
|
||||
if (_resetReceived) return;
|
||||
_resetSent = true;
|
||||
if (_resetSentOn <= 0)
|
||||
_resetSentOn = now;
|
||||
|
Reference in New Issue
Block a user