mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-22 00:59:08 +01:00
handle plain ack with options
This commit is contained in:
parent
a91caa6559
commit
699e17b594
1 changed files with 8 additions and 3 deletions
|
@ -184,8 +184,13 @@ namespace stream
|
||||||
ProcessAck (packet);
|
ProcessAck (packet);
|
||||||
|
|
||||||
int32_t receivedSeqn = packet->GetSeqn ();
|
int32_t receivedSeqn = packet->GetSeqn ();
|
||||||
if (!receivedSeqn && !packet->GetFlags ())
|
if (!receivedSeqn)
|
||||||
{
|
{
|
||||||
|
uint16_t flags = packet->GetFlags ();
|
||||||
|
if (flags)
|
||||||
|
// plain ack with options
|
||||||
|
ProcessOptions (flags, packet);
|
||||||
|
else
|
||||||
// plain ack
|
// plain ack
|
||||||
LogPrint (eLogDebug, "Streaming: Plain ACK received");
|
LogPrint (eLogDebug, "Streaming: Plain ACK received");
|
||||||
m_LocalDestination.DeletePacket (packet);
|
m_LocalDestination.DeletePacket (packet);
|
||||||
|
|
Loading…
Add table
Reference in a new issue