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
|
@ -169,10 +169,10 @@ namespace tunnel
|
|||
it->second.second->SetState (eTunnelStateEstablished);
|
||||
LogPrint ("Tunnel test ", it->first, " successive. ", i2p::util::GetMillisecondsSinceEpoch () - be64toh (deliveryStatus->timestamp), " milliseconds");
|
||||
m_Tests.erase (it);
|
||||
DeleteI2NPMessage (msg);
|
||||
}
|
||||
else
|
||||
i2p::garlic::routing.HandleDeliveryStatusMessage (msg->GetPayload (), msg->GetLength ()); // TODO:
|
||||
DeleteI2NPMessage (msg);
|
||||
i2p::garlic::routing.PostI2NPMsg (msg);
|
||||
}
|
||||
|
||||
void TunnelPool::CreateInboundTunnel ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue