Browse Source

send ack after last message only

pull/48/head
orignal 11 years ago
parent
commit
129052c330
  1. 4
      Streaming.cpp

4
Streaming.cpp

@ -58,6 +58,9 @@ namespace stream @@ -58,6 +58,9 @@ namespace stream
else
break;
}
// send ack for last message
SendQuickAck ();
}
else
{
@ -117,7 +120,6 @@ namespace stream @@ -117,7 +120,6 @@ namespace stream
delete packet;
m_LastReceivedSequenceNumber = receivedSeqn;
SendQuickAck ();
if (flags & PACKET_FLAG_CLOSE)
{

Loading…
Cancel
Save