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

feat(ext/fetch): Add socks proxy support #15372

Merged
merged 1 commit into from
Aug 5, 2022
Merged

feat(ext/fetch): Add socks proxy support #15372

merged 1 commit into from
Aug 5, 2022

Conversation

SvanteRichter
Copy link
Contributor

@SvanteRichter SvanteRichter commented Aug 1, 2022

Adds socks proxy support by enabling the reqwest feature flag, as mentioned in #11609. No new tests as the issue mentioned that internal discussions OK'ed the change without new tests.

@CLAassistant
Copy link

CLAassistant commented Aug 1, 2022

CLA assistant check
All committers have signed the CLA.

@SvanteRichter SvanteRichter changed the title feat(fetch): Add socks proxy support feat(ext/fetch): Add socks proxy support Aug 1, 2022
Adds socks proxy support by enabling the reqwest feature flag
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, thanks

@bartlomieju bartlomieju merged commit 6e69124 into denoland:main Aug 5, 2022
@justinmchase
Copy link
Contributor

So how does one configure use of socks proxy? It doesn't seem to work with just HTTPS_PROXY do I also need SOCKS_PROXY ? I don't see it in the docs.

@SvanteRichter
Copy link
Contributor Author

@justinmchase See the example here: https://docs.rs/reqwest/latest/reqwest/#proxies

Since deno uses reqwest the same environment configs should work straight up.

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

4 participants