[jdk13u-dev] Integrated: 8236859: WebSocket over authenticating proxy fails with NPE

Larry-N github.com+75672469+larry-n at openjdk.java.net
Wed Dec 23 12:19:56 UTC 2020


On Thu, 10 Dec 2020 11:03:00 GMT, Larry-N <github.com+75672469+Larry-N at openjdk.org> wrote:

> Backport fix for bug 8236859
> + small correction  cache.store() calling because of method signature difference from 16 to 13 jdk. 
> File: AuthenticationFilter.java

This pull request has now been integrated.

Changeset: 5d25a8ff
Author:    Ilarion Nakonechnyy <Ilarion at azul.com>
Committer: Yuri Nesterenko <yan at openjdk.org>
URL:       https://git.openjdk.java.net/jdk13u-dev/commit/5d25a8ff
Stats:     948 lines in 12 files changed: 909 ins; 5 del; 34 mod

8236859: WebSocket over authenticating proxy fails with NPE

This change fixes several issues with WebSocket and proxy authentication. The AuthenticationFilter is changed to support an authenticating server accessed through an authenticating proxy. MultiExchange is fixed to close the previous connection if a new connection is necessary to establish the websocket (websocket connections are not cached and must be closed in that case). WebSocket OpeningHandshake is fixed to close the connection (without creating the RawChannel) if the opening handshake doesn't result in 101 upgrade protocol.

Reviewed-by: yan
Backport-of: c6da6681d418928c65cff6b1240e6b5d6bc5199b

-------------

PR: https://git.openjdk.java.net/jdk13u-dev/pull/53


More information about the jdk-updates-dev mailing list