mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-10-22 13:11:40 +00:00
drop ack Through to last packet if Number of NACKs exceeds 255
This commit is contained in:
1 parent
85be76b01a
commit
75df8d3c7b
1 file changed
+1
-1
@@ -702,7 +702,7 @@ namespace stream
|
||||
if (numNacks + (seqn - nextSeqn) >= 256)
|
||||
{
|
||||
LogPrint (eLogError, "Streaming: Number of NACKs exceeds 256. seqn=", seqn, " nextSeqn=", nextSeqn);
|
||||
htobe32buf (packet + 12, nextSeqn); // change ack Through
|
||||
htobe32buf (packet + 12, nextSeqn - 1); // change ack Through back
|
||||
break;
|
||||
}
|
||||
for (uint32_t i = nextSeqn; i < seqn; i++)
|
||||
|
||||
Reference in new issue
Block a user