Skip to content

Conversation

@nsdyoshi
Copy link
Contributor

Description of changes:

An errata for RFC9002 has been reported in https://www.rfc-editor.org/errata/eid7539
Related discussions can be found in https://mailarchive.ietf.org/arch/msg/quic/Y_NDekpArDyXniaTnjzG4ccePbA/

Testing:

  • unit tests

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

@camshaft camshaft requested a review from WesleyRosenblum June 12, 2023 20:09
Comment on lines 254 to 255
//#
//# this logic has been updated to follow the errata reported in https://www.rfc-editor.org/errata/eid7539
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The //# is specifically for RFC compliance comments that get parsed by the Duvet tool, so this line should just use regular // syntax on a separate line

Suggested change
//#
//# this logic has been updated to follow the errata reported in https://www.rfc-editor.org/errata/eid7539
// this logic has been updated to follow the errata reported in https://www.rfc-editor.org/errata/eid7539

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK. I will update the code.

context.path_mut().rtt_estimator.update_rtt(
Duration::from_millis(10),
Duration::from_millis(700),
Duration::from_millis(600),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did this need to change?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As the logic of the RTT calculation has been changed, there are some minor updates on testing results for checking the logic. Some variables such as persistent_congestion_threshold become slightly bigger. I think this change can suppress the errors in tests due to this small inflation.

@WesleyRosenblum WesleyRosenblum changed the title update rtt sampling logic based on an errata for RFC9002 fix(s2n-quic-core): update rtt sampling logic based on an errata for RFC9002 Jun 13, 2023
@WesleyRosenblum WesleyRosenblum merged commit e1ed37e into aws:main Jun 13, 2023
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