Repository navigation
Do not use HTTP_PROXY for unix sock - #10739
Merged
Merged
Conversation
Makes sure the CLI does not use HTTP_PROXY when connecting to unix socket. Also adds some tests to make sure this functionality works as expected. Signed-off-by: Brian Goff <[email protected]>
Contributor
|
+1 for the design, makes sense to not use the proxy for unix sockets, if ProxyFromEnvironment skips localhost already. |
Contributor
|
Design +1 this is much better... I didn't realize that just below the original patch (#9951) was a branch on |
Contributor
|
+1 @cpuguy83 :) |
Contributor
|
LGTM |
1 similar comment
Contributor
|
LGTM |
icecrime
pushed a commit
that referenced
this pull request
Feb 12, 2015
Do not use HTTP_PROXY for unix sock
Contributor
|
LGTM |
Contributor
|
God, sorry, I didn't want to merge... We need to get docs updated for this. |
SvenDowideit
pushed a commit
to SvenDowideit/docker
that referenced
this pull request
Feb 26, 2015
Do not use HTTP_PROXY for unix sock (cherry picked from commit d8f60a6)
This file contains hidden or 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
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.
Makes sure the CLI does not use HTTP_PROXY when connecting to unix
socket.
Also adds some tests to make sure this functionality works as expected.
Found that the ProxyFromEnvironment already has a special case to not proxy when connecting to localhost. So I think it makes sense to also not proxy when connecting over a unix socket.