send ack after last message only
This commit is contained in:
@@ -58,6 +58,9 @@ namespace stream
|
|||||||
else
|
else
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// send ack for last message
|
||||||
|
SendQuickAck ();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -117,7 +120,6 @@ namespace stream
|
|||||||
delete packet;
|
delete packet;
|
||||||
|
|
||||||
m_LastReceivedSequenceNumber = receivedSeqn;
|
m_LastReceivedSequenceNumber = receivedSeqn;
|
||||||
SendQuickAck ();
|
|
||||||
|
|
||||||
if (flags & PACKET_FLAG_CLOSE)
|
if (flags & PACKET_FLAG_CLOSE)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user