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

Apply the proxy setting in wasmer config #5091

Merged
merged 4 commits into from
Sep 16, 2024
Merged

Conversation

maminrayej
Copy link
Contributor

There is support for setting a proxy in wasmer config, but it was not applied when creating a client. This PR fixes this issue.

Note: Unfortunately, there is still need for HTTP_PROXY env var since there are clients being created deep in the source code that do not have access to WasmerEnv. Sometimes the combination of both is needed for the entire traffic to be rerouted through the proxy. Fixing this requires a non-trivial refactor that is beyond the scope of this PR.

@maminrayej maminrayej merged commit 2a576c8 into main Sep 16, 2024
62 of 63 checks passed
@maminrayej maminrayej deleted the use-existing-proxy-settings branch September 16, 2024 19:45
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.

2 participants