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

rtt: initialize min_rtt to zero #1785

Merged
merged 1 commit into from May 13, 2024
Merged

rtt: initialize min_rtt to zero #1785

merged 1 commit into from May 13, 2024

Conversation

ghedo
Copy link
Member

@ghedo ghedo commented May 10, 2024

Follow-up to 3b758cb which changed the initial min_rtt value from Duration::ZERO to Duration::MAX.

This could potentially cause an overflow, for example if there is no previous RTT sample, and the CUBIC congestion avoidance logic is triggered.

Switch back the initial value to ZERO.

Follow-up to 3b758cb which changed the
initial min_rtt value from Duration::ZERO to Duration::MAX.

This could potentially cause an overflow, for example if there is no
previous RTT sample, and the CUBIC congestion avoidance logic is
triggered.

Switch back the initial value to ZERO.
@ghedo ghedo requested a review from a team as a code owner May 10, 2024 09:59
@ghedo ghedo merged commit f29db19 into master May 13, 2024
38 checks passed
@ghedo ghedo deleted the min_rtt_zero branch May 13, 2024 09:30
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.

None yet

2 participants