RFR: 8368695: Support 101 switching protocol in jdk.httpserver [v5]
Christoph Läubrich
duke at openjdk.org
Wed Feb 11 14:30:05 UTC 2026
On Wed, 11 Feb 2026 13:44:32 GMT, Josiah Noel <duke at openjdk.org> wrote:
> He is thinking of scenarios where the body might still try to be read even though the connection is not upgraded, it's about backwards compatibility.
I honestly don't understand the workflow... If I send an Upgrade _request_ and the server answers with lets say 200 after reading the request and writing a response nothing should happen as far as I understand your implementation. Only if the server actually send the switching protocols _response_ then the stream are handled differently..
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27989#discussion_r2793597825
More information about the net-dev
mailing list