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

Do not pass Proxy.NoProxy so that the system proxy settings are respected #3060

Merged
merged 2 commits into from
May 6, 2019
Merged

Do not pass Proxy.NoProxy so that the system proxy settings are respected #3060

merged 2 commits into from
May 6, 2019

Conversation

sdebruyn
Copy link
Contributor

@sdebruyn sdebruyn commented May 2, 2019

Fixes #3058

I added comments inline for clarification.
According to https://docs.oracle.com/javase/7/docs/api/java/net/URL.html#openConnection() passing Proxy.NoProxy tells the URL class to not use a proxy, regardless of system settings. Leaving the parameter out makes sure that system settings are used.

@sdebruyn sdebruyn requested a review from grendello as a code owner May 2, 2019 13:17
@xamarin-jenkins
Copy link

Hello! I'm the build bot for Xamarin. I need approval from a Xamarin team member to build this pull request. A team member should reply with "approve" to approve a build of this pull request, "whitelist" to whitelist this and all future pull requests from this contributor, or "build" to explicitly request a build, even if one has already been done. Contributors can ignore this message.

@jonpryor
Copy link
Member

jonpryor commented May 3, 2019

approve

@JensSchadron
Copy link

Would it be possible to merge this fix into branch d16-2 so it becomes available in the next Xamarin.Android 9.4 update?

@github-actions github-actions bot locked and limited conversation to collaborators Jan 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Default Android OS proxy is ignored
6 participants