mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
limited number of acked packets to 511
This commit is contained in:
parent
75c9f596b2
commit
4db643aa8e
2 changed files with 3 additions and 3 deletions
|
@ -1661,7 +1661,7 @@ namespace transport
|
|||
// ranges
|
||||
len -= 5;
|
||||
const uint8_t * ranges = buf + 5;
|
||||
while (len > 0 && firstPacketNum)
|
||||
while (len > 0 && firstPacketNum && ackThrough - firstPacketNum < SSU2_MAX_NUM_ACK_PACKETS)
|
||||
{
|
||||
uint32_t lastPacketNum = firstPacketNum - 1;
|
||||
if (*ranges > lastPacketNum) break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue