Skip to content

Conversation

shin-
Copy link
Contributor

@shin- shin- commented Oct 19, 2015

The select_proxy utility in requests errors out when the provided URL
doesn't have a hostname, like is the case when using a UNIX socket.
Since proxies are an irrelevant notion in the case of UNIX sockets
anyway, we simply return the path URL directly.

Fixes #811

The select_proxy utility in requests errors out when the provided URL
doesn't have a hostname, like is the case when using a UNIX socket.
Since proxies are an irrelevant notion in the case of UNIX sockets
anyway, we simply return the path URL directly.

Signed-off-by: Joffrey F <joffrey@docker.com>
@dnephin
Copy link
Contributor

dnephin commented Oct 20, 2015

LGTM

shin- added a commit that referenced this pull request Oct 21, 2015
Fix Unix adapter bug with newer versions of requests
@shin- shin- merged commit 4552e78 into master Oct 21, 2015
@shin- shin- deleted the 811-unix-adapter branch November 12, 2015 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants