mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-08 22:13:48 +01:00
send ack after last message only
This commit is contained in:
parent
1bbc12b36a
commit
129052c330
1 changed files with 4 additions and 2 deletions
|
@ -58,6 +58,9 @@ namespace stream
|
|||
else
|
||||
break;
|
||||
}
|
||||
|
||||
// send ack for last message
|
||||
SendQuickAck ();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -117,7 +120,6 @@ namespace stream
|
|||
delete packet;
|
||||
|
||||
m_LastReceivedSequenceNumber = receivedSeqn;
|
||||
SendQuickAck ();
|
||||
|
||||
if (flags & PACKET_FLAG_CLOSE)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue