mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
handle garlic's DeliveryStatus in the garlic thread
This commit is contained in:
parent
f741b14664
commit
eff3bb6ab1
4 changed files with 33 additions and 22 deletions
|
@ -535,7 +535,7 @@ namespace i2p
|
|||
break;
|
||||
case eI2NPGarlic:
|
||||
LogPrint ("Garlic");
|
||||
i2p::garlic::routing.HandleGarlicMessage (msg);
|
||||
i2p::garlic::routing.PostI2NPMsg (msg);
|
||||
break;
|
||||
case eI2NPDatabaseStore:
|
||||
case eI2NPDatabaseSearchReply:
|
||||
|
@ -548,10 +548,7 @@ namespace i2p
|
|||
if (msg->from && msg->from->GetTunnelPool ())
|
||||
msg->from->GetTunnelPool ()->ProcessDeliveryStatus (msg);
|
||||
else
|
||||
{
|
||||
i2p::garlic::routing.HandleDeliveryStatusMessage (msg->GetPayload (), msg->GetLength ());
|
||||
DeleteI2NPMessage (msg);
|
||||
}
|
||||
i2p::garlic::routing.PostI2NPMsg (msg);
|
||||
break;
|
||||
default:
|
||||
HandleI2NPMessage (msg->GetBuffer (), msg->GetLength ());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue