mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-10-23 17:12:48 +00:00
send ack after last message only
This commit is contained in:
1 parent
1bbc12b36a
commit
129052c330
1 file changed
+4
-2
+4
-2
@@ -57,7 +57,10 @@ 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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user