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

Rework version negotiation, add support for Version Information #521

Merged
merged 2 commits into from
Jun 29, 2024

Conversation

jlaine
Copy link
Contributor

@jlaine jlaine commented Jun 25, 2024

No description provided.

Move the code for handling retry and version negotiation to their own
methods to simplify `receive_datagram`.
Copy link

codecov bot commented Jun 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (dd029b4) to head (a87ab69).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #521   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           25        25           
  Lines         5018      5047   +29     
=========================================
+ Hits          5018      5047   +29     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

This parameter is defined in RFC 9368 and is used for compatible version
negotiation.

We also ensure that if parsing a parameter results in a shorter read
than the parameter's length, we raise a `ValueError` not an
`AssertionError`.
@jlaine jlaine changed the title Rework version negotiation for QUIC v2 Rework version negotiation, add support for Version Information Jun 29, 2024
@jlaine jlaine merged commit a59d9ad into aiortc:main Jun 29, 2024
29 checks passed
@jlaine jlaine deleted the rework-vn branch June 29, 2024 08:02
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.

1 participant