|
|
@ -591,6 +591,11 @@ namespace llarp
|
|
|
|
|
|
|
|
|
|
|
|
SendQueueBacklog = [&]() -> size_t { return sendq.size(); };
|
|
|
|
SendQueueBacklog = [&]() -> size_t { return sendq.size(); };
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ShouldPing = [&]() -> bool {
|
|
|
|
|
|
|
|
auto dlt = parent->Now() - lastActive;
|
|
|
|
|
|
|
|
return dlt >= 10000;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
SendKeepAlive = [&]() -> bool {
|
|
|
|
SendKeepAlive = [&]() -> bool {
|
|
|
|
if(state == eSessionReady)
|
|
|
|
if(state == eSessionReady)
|
|
|
|
{
|
|
|
|
{
|
|
|
|