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

http3: don't automatically set RoundTripper.QuicConfig.EnableDatagrams #4340

Merged
merged 1 commit into from
Mar 3, 2024

Conversation

marten-seemann
Copy link
Member

If the user provides a quic.Config, we shouldn't modify it. Instead, we should return an error if the user enables HTTP Datagrams but fails to enable datagrams on the QUIC layer.

This isn't required by RFC 9297. If the QUIC layer disables datagrams, one could - in principe - use the Capsule protocol. However, that's probably never (?) intended by the user.

If the user provides a quic.Config, we shouldn't modify it. Instead, we
should return an error if the user enables HTTP Datagrams but fails to
enable datagrams on the QUIC layer.
Copy link

codecov bot commented Mar 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.83%. Comparing base (c786a46) to head (22b2a14).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4340      +/-   ##
==========================================
+ Coverage   84.80%   84.83%   +0.03%     
==========================================
  Files         150      150              
  Lines       14251    14254       +3     
==========================================
+ Hits        12085    12092       +7     
+ Misses       1668     1665       -3     
+ Partials      498      497       -1     

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

@marten-seemann marten-seemann merged commit 0405634 into master Mar 3, 2024
34 checks passed
@marten-seemann marten-seemann deleted the http3-require-quic-datagrams branch March 3, 2024 07:21
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

1 participant