Skip to content

QUIC: Cap the number of tracked ACK blocks#24

Merged
rpaulo merged 1 commit into
apple:mainfrom
rpaulo:limit-ack-blocks
Jun 17, 2026
Merged

QUIC: Cap the number of tracked ACK blocks#24
rpaulo merged 1 commit into
apple:mainfrom
rpaulo:limit-ack-blocks

Conversation

@rpaulo

@rpaulo rpaulo commented Jun 17, 2026

Copy link
Copy Markdown
Contributor
  • Add maxAckBlocks limit (256) to bound per-space ACK block growth
  • Drop the oldest block while building ACKs once the cap is exceeded,
    preventing unbounded memory and ACK frame size from fragmented or
    reordered traffic
  • Document the rationale behind pingThreshold, maxAckBlocks, and
    immediateAcks
  • Add tests covering the cap, boundary, and stability behavior

- Add `maxAckBlocks` limit (256) to bound per-space ACK block growth
- Drop the oldest block while building ACKs once the cap is exceeded,
  preventing unbounded memory and ACK frame size from fragmented or
  reordered traffic
- Document the rationale behind `pingThreshold`, `maxAckBlocks`, and
  `immediateAcks`
- Add tests covering the cap, boundary, and stability behavior
@rpaulo rpaulo merged commit 4715d19 into apple:main Jun 17, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants