mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 21:37:17 +01:00
handle plain ack with options
This commit is contained in:
parent
a91caa6559
commit
699e17b594
|
@ -184,10 +184,15 @@ namespace stream
|
||||||
ProcessAck (packet);
|
ProcessAck (packet);
|
||||||
|
|
||||||
int32_t receivedSeqn = packet->GetSeqn ();
|
int32_t receivedSeqn = packet->GetSeqn ();
|
||||||
if (!receivedSeqn && !packet->GetFlags ())
|
if (!receivedSeqn)
|
||||||
{
|
{
|
||||||
// plain ack
|
uint16_t flags = packet->GetFlags ();
|
||||||
LogPrint (eLogDebug, "Streaming: Plain ACK received");
|
if (flags)
|
||||||
|
// plain ack with options
|
||||||
|
ProcessOptions (flags, packet);
|
||||||
|
else
|
||||||
|
// plain ack
|
||||||
|
LogPrint (eLogDebug, "Streaming: Plain ACK received");
|
||||||
m_LocalDestination.DeletePacket (packet);
|
m_LocalDestination.DeletePacket (packet);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue