don't futher process plain Ack

This commit is contained in:
orignal 2014-08-06 15:44:00 -04:00
parent f811b19cf1
commit 15b4dfbecb
2 changed files with 10 additions and 0 deletions

View file

@ -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)
{