only keepalive when established

pull/1/head
Jeff Becker 6 years ago
parent 7ea64305ab
commit 1c2155284e
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -805,7 +805,8 @@ namespace iwp
// are done
return frames == 0;
}
// send keepalive every tick
// send keepalive if we are established
if(state == eEstablished)
send_keepalive(this);
// TODO: determine if we are too idle

Loading…
Cancel
Save