-
Notifications
You must be signed in to change notification settings - Fork 315
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
Support http_proxy
& no_proxy
environment variables for Depot calls.
#512
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55a169e
to
385a167
Compare
☔ The latest upstream changes (presumably 0b12a73) made this pull request unmergeable. Please resolve the merge conflicts. |
@fnichol super clean. Let's get the 0.5.0 commit out of this PR and merge it! |
This feature adds support for using the `http_proxy` and `no_proxy` environment variables when interacting with a Depot via the `depot-client` component which powers the `hab` CLI and the `hab-sup` Supervisor. The raw environment variable parsing and interpretation is maintained in the `core` component, which is then used by the `depot-client` when creating `hyper::Client` instances. If the Depot URL's host/domain part matches an entry in the `no_proxy` comma-separated list of domain extensions, a proxy will not be used. Note that at the moment the behavior when calling SSL-wrapped Depot instances is undefined and not tested (which will happen later when this is officially supported). Signed-off-by: Fletcher Nichol <[email protected]>
385a167
to
705906a
Compare
📌 Commit 705906a has been approved by |
thesentinels
pushed a commit
that referenced
this pull request
May 12, 2016
This feature adds support for using the `http_proxy` and `no_proxy` environment variables when interacting with a Depot via the `depot-client` component which powers the `hab` CLI and the `hab-sup` Supervisor. The raw environment variable parsing and interpretation is maintained in the `core` component, which is then used by the `depot-client` when creating `hyper::Client` instances. If the Depot URL's host/domain part matches an entry in the `no_proxy` comma-separated list of domain extensions, a proxy will not be used. Note that at the moment the behavior when calling SSL-wrapped Depot instances is undefined and not tested (which will happen later when this is officially supported). Signed-off-by: Fletcher Nichol <[email protected]> Pull request: #512 Approved by: reset
☀️ Test successful - travis |
jtimberman
pushed a commit
that referenced
this pull request
Jun 12, 2016
This feature adds support for using the `http_proxy` and `no_proxy` environment variables when interacting with a Depot via the `depot-client` component which powers the `hab` CLI and the `hab-sup` Supervisor. The raw environment variable parsing and interpretation is maintained in the `core` component, which is then used by the `depot-client` when creating `hyper::Client` instances. If the Depot URL's host/domain part matches an entry in the `no_proxy` comma-separated list of domain extensions, a proxy will not be used. Note that at the moment the behavior when calling SSL-wrapped Depot instances is undefined and not tested (which will happen later when this is officially supported). Signed-off-by: Fletcher Nichol <[email protected]> Pull request: #512 Approved by: reset
raskchanky
pushed a commit
that referenced
this pull request
Apr 16, 2019
This feature adds support for using the `http_proxy` and `no_proxy` environment variables when interacting with a Depot via the `depot-client` component which powers the `hab` CLI and the `hab-sup` Supervisor. The raw environment variable parsing and interpretation is maintained in the `core` component, which is then used by the `depot-client` when creating `hyper::Client` instances. If the Depot URL's host/domain part matches an entry in the `no_proxy` comma-separated list of domain extensions, a proxy will not be used. Note that at the moment the behavior when calling SSL-wrapped Depot instances is undefined and not tested (which will happen later when this is officially supported). Signed-off-by: Fletcher Nichol <[email protected]> Pull request: #512 Approved by: reset
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This feature adds support for using the
http_proxy
andno_proxy
environment variables when interacting with a Depot via thedepot-client
component which powers thehab
CLI and thehab-sup
Supervisor.
The raw environment variable parsing and interpretation is maintained in
the
core
component, which is then used by thedepot-client
whencreating
hyper::Client
instances. If the Depot URL's host/domain partmatches an entry in the
no_proxy
comma-separated list of domainextensions, a proxy will not be used. Note that at the moment the
behavior when calling SSL-wrapped Depot instances is undefined and not
tested (which will happen later when this is officially supported).
Signed-off-by: Fletcher Nichol [email protected]