mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-23 13:03:04 +00:00
dont keepalive if we're in the closing process (duh)
This commit is contained in:
1 parent
07626b5cc2
commit
53f3802a81
1 file changed
+2
@@ -462,6 +462,8 @@ public class Connection {
|
||||
if (getUnackedPacketsSent() > 0) return;
|
||||
// wtf, this shouldn't have been scheduled
|
||||
if (_options.getInactivityTimeout() <= 0) return;
|
||||
// if one of us can't talk...
|
||||
if ( (_closeSentOn > 0) || (_closeReceivedOn > 0) ) return;
|
||||
|
||||
// bugger it, might as well do the hard work now
|
||||
switch (_options.getInactivityAction()) {
|
||||
|
||||
Reference in new issue
Block a user