< prev index next >

src/java.net.http/share/classes/jdk/internal/net/http/RawChannelTube.java

Print this page
rev 54081 : 8265099: Revert backport to 11u of 8236859: WebSocket over authenticating proxy fails with NPE
Summary: Revert https://hg.openjdk.java.net/jdk-updates/jdk11u-dev/rev/57e3fa3574ec
Reviewed-by:

*** 1,7 **** /* ! * Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 71,81 **** this.connection = connection; this.tube = connection.getConnectionFlow(); this.initial = initial; this.writePublisher = new WritePublisher(); this.readSubscriber = new ReadSubscriber(); ! dbgTag = "[WebSocket] RawChannelTube(" + tube +")"; debug = Utils.getWebSocketLogger(dbgTag::toString, Utils.DEBUG_WS); connection.client().webSocketOpen(); connectFlows(); if (Utils.ASSERTIONSENABLED && Utils.DEBUG_WS) { // this is just for debug... --- 71,81 ---- this.connection = connection; this.tube = connection.getConnectionFlow(); this.initial = initial; this.writePublisher = new WritePublisher(); this.readSubscriber = new ReadSubscriber(); ! dbgTag = "[WebSocket] RawChannelTube(" + tube.toString() +")"; debug = Utils.getWebSocketLogger(dbgTag::toString, Utils.DEBUG_WS); connection.client().webSocketOpen(); connectFlows(); if (Utils.ASSERTIONSENABLED && Utils.DEBUG_WS) { // this is just for debug...
< prev index next >