mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
don't futher process plain Ack
This commit is contained in:
parent
f811b19cf1
commit
15b4dfbecb
2 changed files with 10 additions and 0 deletions
|
@ -54,6 +54,14 @@ namespace stream
|
|||
m_SendStreamID = packet->GetReceiveStreamID ();
|
||||
|
||||
uint32_t receivedSeqn = packet->GetSeqn ();
|
||||
if (!receivedSeqn && !packet->IsSYN ())
|
||||
{
|
||||
// plain ack
|
||||
LogPrint ("Plain ACK received");
|
||||
delete packet;
|
||||
return;
|
||||
}
|
||||
|
||||
LogPrint ("Received seqn=", receivedSeqn);
|
||||
if (!receivedSeqn || receivedSeqn == m_LastReceivedSequenceNumber + 1)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue