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

Fix proxy script use #552

Merged
merged 1 commit into from
Jan 15, 2015
Merged

Fix proxy script use #552

merged 1 commit into from
Jan 15, 2015

Conversation

gluck
Copy link
Contributor

@gluck gluck commented Jan 15, 2015

When using a proxy configuration script (aka wpad pac script), the actual
proxy settings you get depend on the url you target.
It's used for load balancing / web proxy routing in enterprises.

If you were unlikely enough (like me) to have a split between google urls
and the rest of the www, the current code would use the google proxy
to target github urls, which was failing (405 in my case but I guess
that could depend on the actual setup).

(this code is part 1/2 to fix the bootstrapper, paket code needs a similar fix as well)

When using a proxy configuration script (aka wpad pac script), the actual
proxy settings you get depend on the url you target.
It's used for load balancing / web proxy routing in enterprises.

If you were unlikely enough (like me) to have a split between google urls
and the rest of the www, the current code would use the google proxy
to target github urls, which was failing (405 in my case but I guess
that could depend on the actual setup).
@forki
Copy link
Member

forki commented Jan 15, 2015

/cc @vasily-kirichenko would this work for you?

@vasily-kirichenko
Copy link
Contributor

It should work. "google.com" was chosen in a random basis. Please merge it and release so I can test it.

forki added a commit that referenced this pull request Jan 15, 2015
@forki forki merged commit 4d641c5 into fsprojects:master Jan 15, 2015
@forki
Copy link
Member

forki commented Jan 15, 2015

@gluck thanks for contributing. Could you please review 59cc8d5

It's both released as 0.23 - let's see how it goes.

@vasily-kirichenko
Copy link
Contributor

Works OK for me.

@gluck
Copy link
Contributor Author

gluck commented Jan 15, 2015

Today won't be the day where I make my first F# contribution 😭
j/k thanks for finishing up the work, change looks good.

@gluck gluck deleted the proxy_pac branch January 15, 2015 12:46
@forki
Copy link
Member

forki commented Jan 15, 2015

Sorry about that.
On Jan 15, 2015 1:46 PM, "Francois Valdy" [email protected] wrote:

Today won't be the day where I make my first F# contribution [image:
😭]
j/k thanks for finishing up the work, change looks good.


Reply to this email directly or view it on GitHub
#552 (comment).

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

3 participants