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

[https-proxy-agent] Support SNI as default for proxy servers #237

Merged
merged 2 commits into from Aug 23, 2023
Merged

[https-proxy-agent] Support SNI as default for proxy servers #237

merged 2 commits into from Aug 23, 2023

Conversation

unhappychoice
Copy link
Contributor

@unhappychoice unhappychoice commented Aug 23, 2023

#14 adds a full SNI support for target servers but not proxy servers. TLS connection to proxy servers also needs SNI setting or it will raise a Hostname/IP deosn't match certificate error. And I think servername should be the proxy server host by default even the HttpsProxyAgent constructor can take servername property.

@vercel
Copy link

vercel bot commented Aug 23, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
proxy-agents ✅ Ready (Inspect) Visit Preview Aug 23, 2023 6:39pm

@changeset-bot
Copy link

changeset-bot bot commented Aug 23, 2023

🦋 Changeset detected

Latest commit: 22a039d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
https-proxy-agent Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@unhappychoice unhappychoice changed the title Support SNI for proxy servers Support SNI as default for proxy servers Aug 23, 2023
@TooTallNate TooTallNate changed the title Support SNI as default for proxy servers [https-proxy-agent] Support SNI as default for proxy servers Aug 23, 2023
@TooTallNate TooTallNate merged commit e625d10 into TooTallNate:main Aug 23, 2023
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants