Enable system proxies by default on Linux?
Chris Hegarty
chris.hegarty at oracle.com
Thu Sep 26 13:34:19 UTC 2019
Mark,
> On 25 Sep 2019, at 19:52, mark.reinhold at oracle.com wrote:
>
> ...
>
> The URLConnection and HttpClient APIs already use the system’s default
> ProxySelector. What other APIs might require checking?
Ignoring SOCKS, that should be it.
> Do we care about SOCKS proxies? (Are those in broad use?
In general, I would say that SOCKS is not that widely used.
> I have no
> idea.) Making every TCP connection check for a system default SOCKS
> proxy could be going too far in terms of compatibility impact, and
> anyway solving this problem for http, https, and ftp should address
> most of the pain.
Agreed. Whatever we do there should have no affect on SOCKS.
> Perhaps this is more a matter of test clean-up than anything else.
For the tests I filed 8231504 - "Update networking tests to avoid
implicit dependency on the system proxies”, which is currently out for
review. It should clean up most of the accidental proxy dependencies.
> I’ll make this change and run some tests ...
Great. Thanks.
-Chris.
More information about the net-dev
mailing list