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

use https_proxy from env variables #50

Merged
merged 2 commits into from
May 23, 2022

Conversation

j-raccoon
Copy link
Contributor

We use xwin for cross-compilation on a CI/CD-runner behind our corporate proxy.

This PR enables xwin to download files behind a proxy by reading https_proxy environment variable and setting up proxy config when building ureq::Agent in http_client()

src/ctx.rs Show resolved Hide resolved
@Jake-Shadle Jake-Shadle self-requested a review May 23, 2022 07:14
Copy link
Owner

@Jake-Shadle Jake-Shadle left a comment

Choose a reason for hiding this comment

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

Thanks!

@Jake-Shadle Jake-Shadle merged commit a9d40c9 into Jake-Shadle:main May 23, 2022
@j-raccoon j-raccoon deleted the use-https-proxy branch May 23, 2022 07:19
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

2 participants