Skip to content

rustup ought to tell rustls an ALPN #4311

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

Closed
ctz opened this issue Apr 25, 2025 · 0 comments · Fixed by #4312
Closed

rustup ought to tell rustls an ALPN #4311

ctz opened this issue Apr 25, 2025 · 0 comments · Fixed by #4312
Milestone

Comments

@ctz
Copy link
Contributor

ctz commented Apr 25, 2025

Problem you are trying to solve

Noted in #4305 -- because rustup passes a pre-built rustls configuration into reqwest, it is responsible for configuring the rustls::ClientConfig::alpn_protocols field. This probably has no significant impact given the simple workloads of rustup, but disabling ALPN (and therefore HTTP2) is probably an unintended variance from the curl backend.

Solution you'd like

Set ALPN so HTTP2 can be negotiated.

Notes

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants