flush queue when full

pull/1543/head
Jeff Becker 3 years ago
parent 42ffbcca0a
commit 01262d1c4d
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -104,6 +104,8 @@ namespace llarp::iwp
void
LinkLayer::AddWakeup(std::weak_ptr<Session> session)
{
if (m_PlaintextRecv.full())
HandleWakeupPlaintext();
m_PlaintextRecv.tryPushBack(session);
}

Loading…
Cancel
Save