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

Use 127.0.0.1 instead of localhost, more #2554

Merged
merged 1 commit into from
Jun 19, 2017
Merged

Use 127.0.0.1 instead of localhost, more #2554

merged 1 commit into from
Jun 19, 2017

Conversation

bboreham
Copy link
Collaborator

@bboreham bboreham commented Jun 1, 2017

We do this in case that name resolves to something else.
This was done in #2103 for one case; don't see why we wouldn't do the same everywhere.

@bboreham bboreham changed the title Use 127.0.0.1 instead of localhost Use 127.0.0.1 instead of localhost, more Jun 1, 2017
@@ -23,11 +23,11 @@ const (
pacfile = `
function FindProxyForURL(url, host) {
if(shExpMatch(host, "{{.HostMatch}}")) {
return "SOCKS5 localhost:8000";
return "SOCKS5 127.0.0.1:8000";

This comment was marked as abuse.

This comment was marked as abuse.

@2opremio 2opremio merged commit 43c5ed2 into master Jun 19, 2017
@2opremio 2opremio deleted the never-localhost branch June 19, 2017 20:40
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