Commit 385135bb authored by Przemyslaw Szczepaniak's avatar Przemyslaw Szczepaniak Committed by Narayan Kamath
Browse files

Remove default ProxySelector socket tunneling

If ProxySelector#getDefault is not empty, openJdk
SocksSocketImpl (the default SocketImpl) will try to
use it to proxy the socket connection through it, even
if the socket was created without the Proxy instance.

This is a regression from marshmallow release, which
would only tunnel the socket if the Proxy was explicitly
set in constructor.

Bug: 29092095

(cherry picked from commit 4c86b879)

Change-Id: Ie3b505c33e053b9a4240daa61579f7800b74b07e
parent d194ec3e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment