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-core): decrease minimum allowed RTT sample to 1 microsecond #1651

Merged
merged 1 commit into from
Mar 2, 2023

Conversation

WesleyRosenblum
Copy link
Contributor

@WesleyRosenblum WesleyRosenblum commented Mar 2, 2023

Description of changes:

Currently s2n-quic enforces a minimum RTT estimate of 1 millisecond, which may be too high a value for intra datacenter connections. I thought this might be an RFC requirement, but it looks like we just did it to save on having an is_first_rtt_sample in the RTTEstimator (which we ended up adding back in anyway). This change reduces the minimum RTT estimate to 1 microsecond.

Testing:

Updated existing unit test

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

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