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

fix(ext/fetch): use correct ALPN to proxies #24696

Merged
merged 2 commits into from
Jul 24, 2024

Conversation

seanmonstar
Copy link
Contributor

Sending ALPN to a proxy, and then when tunneling, requires better juggling of TLS configs. This improves the choice of TLS config in the proxy connector, based on what reqwest does. It also includes some ext/fetch/tests.rs that check the different combinations.

Fixes #24632
Fixes #24691

@seanmonstar seanmonstar force-pushed the fetch-proxy-alpn branch 2 times, most recently from 2be5810 to 4134687 Compare July 24, 2024 14:09
Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

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

LGTM, tested locally and both problems appear to be fixed.

@bartlomieju bartlomieju enabled auto-merge (squash) July 24, 2024 20:15
@bartlomieju bartlomieju merged commit c7f468d into denoland:main Jul 24, 2024
17 checks passed
dsherret pushed a commit that referenced this pull request Jul 26, 2024
Sending ALPN to a proxy, and then when tunneling, requires better
juggling of TLS configs. This improves the choice of TLS config in the
proxy connector, based on what reqwest does. It also includes some
`ext/fetch/tests.rs` that check the different combinations.

Fixes #24632
Fixes #24691
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants