Withdrawn: 8368157: DefaultProxySelector should handle ws/wss protocol like the http/https protocol
EunHyunsu
duke at openjdk.org
Tue Feb 24 11:45:52 UTC 2026
On Mon, 23 Feb 2026 16:24:38 GMT, EunHyunsu <duke at openjdk.org> wrote:
> DefaultProxySelector.select() returns DIRECT for ws/wss URIs even when proxy properties are set. Since WebSocket tunnels over HTTP/HTTPS, ws/wss should use the same proxy settings.
>
> This normalizes ws to http and wss to https at the top of select(), matching what OpeningHandshake already does internally. Same fix applied to ProxySelector.of(). Javadoc and net-properties.html updated.
This pull request has been closed without being integrated.
-------------
PR: https://git.openjdk.org/jdk/pull/29882
More information about the net-dev
mailing list