Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(s2n-quic-transport): bundle ACK frames with probes #1344

Merged
merged 1 commit into from
Jun 3, 2022

Conversation

camshaft
Copy link
Contributor

@camshaft camshaft commented Jun 2, 2022

Description of changes:

Currently, when we send probes the ACK manager will only transmit an ACK frame when it is in Active or Passive mode. This is suboptimal as we miss out on transmitting an ACK, which would allow the peer to recover more quickly from its own loss.

This change, instead looks at the transmission mode and, if it's a probe, will bundle an ACK frame with the packet. In testing, this showed to improve connection resiliency.

Testing:

I've updated the ACK transmission state tests with a snapshot of all of the possible inputs and outputs for should_transmit. This should prevent a regression in this change.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@camshaft camshaft force-pushed the camshaft/ack-probes branch 2 times, most recently from 55e5b72 to 9384558 Compare June 3, 2022 03:30
@camshaft camshaft requested a review from toidiu June 3, 2022 03:39
@camshaft camshaft marked this pull request as ready for review June 3, 2022 03:39
@camshaft camshaft merged commit 90445ae into main Jun 3, 2022
@camshaft camshaft deleted the camshaft/ack-probes branch June 3, 2022 18:39
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.

2 participants