1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-22 04:04:16 +00:00

send ack after last message only

This commit is contained in:
orignal 2014-03-25 17:43:36 -04:00
parent 1bbc12b36a
commit 129052c330

View File

@ -57,7 +57,10 @@ 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)
{ {