I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 53f3802a authored by jrandom's avatar jrandom Committed by zzz
Browse files

dont keepalive if we're in the closing process (duh)

parent 07626b5c
No related branches found
No related tags found
No related merge requests found
...@@ -462,6 +462,8 @@ public class Connection { ...@@ -462,6 +462,8 @@ public class Connection {
if (getUnackedPacketsSent() > 0) return; if (getUnackedPacketsSent() > 0) return;
// wtf, this shouldn't have been scheduled // wtf, this shouldn't have been scheduled
if (_options.getInactivityTimeout() <= 0) return; 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 // bugger it, might as well do the hard work now
switch (_options.getInactivityAction()) { switch (_options.getInactivityAction()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment