TooTallNate / proxy-agents

Node.js HTTP Proxy Agents Monorepo
https://proxy-agents.n8.io
918 stars 238 forks source link

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

Closed unhappychoice closed 1 year ago

unhappychoice commented 1 year ago

https://github.com/TooTallNate/proxy-agents/issues/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[bot] commented 1 year ago

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[bot] commented 1 year ago

🦋 Changeset detected

Latest commit: 22a039dd01c8bd954029ef82f9d2125101cbf68d

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