drop ack Through to last packet if Number of NACKs exceeds 255

pull/2050/head
orignal 2 months ago
parent 85be76b01a
commit 75df8d3c7b

@ -702,7 +702,7 @@ namespace stream
if (numNacks + (seqn - nextSeqn) >= 256) if (numNacks + (seqn - nextSeqn) >= 256)
{ {
LogPrint (eLogError, "Streaming: Number of NACKs exceeds 256. seqn=", seqn, " nextSeqn=", nextSeqn); 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; break;
} }
for (uint32_t i = nextSeqn; i < seqn; i++) for (uint32_t i = nextSeqn; i < seqn; i++)

Loading…
Cancel
Save