mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-19 09:25:28 +00:00
always put messages in inbound processing queue
This commit is contained in:
parent
b994bf5f5b
commit
f134b8c4d1
@ -1793,9 +1793,10 @@ namespace iwp
|
||||
if(id == nextMsgID)
|
||||
{
|
||||
session *impl = static_cast< session * >(parent->impl);
|
||||
success = router->HandleRecvLinkMessage(parent, buf);
|
||||
|
||||
if(id == 0)
|
||||
{
|
||||
success = router->HandleRecvLinkMessage(parent, buf);
|
||||
if(impl->CheckRCValid())
|
||||
{
|
||||
if(!impl->IsEstablished())
|
||||
@ -1803,6 +1804,7 @@ namespace iwp
|
||||
impl->send_LIM();
|
||||
impl->session_established();
|
||||
}
|
||||
++nextMsgID;
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -1812,7 +1814,11 @@ namespace iwp
|
||||
success = false;
|
||||
}
|
||||
}
|
||||
++nextMsgID;
|
||||
else
|
||||
{
|
||||
recvqueue.Put(new InboundMessage(id, msg));
|
||||
success = process_inbound_queue();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user