Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Sources/SwiftNetwork/QUIC/QUICConnection.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2988,8 +2988,9 @@ public final class QUICConnection: ManyToManyApplicationStreamProtocol,
else {
return false
}
// For ACK bundling purposes make sure to rely on the ACK-delay timer as much as possible
guard !applicationPendingItems.isAckOnly || delayedACK else {
// For ACK bundling purposes make sure to rely on the ACK-delay timer as much as possible,
// unless an immediate ACK needs to be processed.
guard !applicationPendingItems.isAckOnly || delayedACK || ack.immediateAcks > 0 else {
// Make sure the ack-delay timer is armed if returning early
ack.scheduleDelayedAck()
return false
Expand Down
Loading