Skip to content

Commit

Permalink
minor change to fix the pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
gaurav2699 committed Jan 3, 2025
1 parent a8f2386 commit 7a37125
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/ack_tracker.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ QuicAckTrackerDidHitReorderingThreshold(
// Check if largest reported packet is missing. In that case, the smallest missing
// packet becomes the largest reported packet.
//

uint64_t PreviousSmallestMissing = QuicRangeGetHigh(QuicRangeGet(&Tracker->PacketNumbersToAck, Index - 1)) + 1;
if (LargestReported > PreviousSmallestMissing) {
PreviousSmallestMissing = LargestReported;
Expand Down Expand Up @@ -268,7 +268,7 @@ QuicAckTrackerAckPacket(
//
QuicSendSetSendFlag(&Connection->Send, QUIC_CONN_SEND_FLAG_ACK);

} else if (Tracker->AckElicitingPacketsToAcknowledge == 1) {
} else if (Tracker->AckElicitingPacketsToAcknowledge > 0) {
//
// We now have ACK eliciting payload to acknowledge but haven't met the
// criteria to send an ACK frame immediately, so just ensure the delayed
Expand Down

0 comments on commit 7a37125

Please sign in to comment.