kill dead links

pull/431/head
Jeff Becker 5 years ago
parent db17b0fad5
commit cc7454684b
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -228,7 +228,10 @@ namespace llarp
bool
Session::IsTimedOut(llarp_time_t now) const
{
(void)now;
if(sendq.size() >= MaxSendQueueSize)
{
return now - lastActive > 5000;
}
// let utp manage this
return state == eClose;
}

Loading…
Cancel
Save