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

Fixes bug in which you cannot specify a port in the upstream config file #220

Merged
merged 7 commits into from
Mar 5, 2019

Conversation

jredbeard
Copy link
Contributor

urlparse().netloc returns the hostname with the port (the whole network location), but python's socket.gethostbyname() expects only the hostname itself. Simply switched to urlparse().hostname - everything else already supports ports, this was just a problem in the upstream config verification logic.

Based on #219

Closes #195

Copy link

@obskein obskein left a comment

Choose a reason for hiding this comment

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

LGTM

@jredbeard jredbeard merged commit 1154db1 into master Mar 5, 2019
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