RFR: 8368695: Support 101 switching protocol in jdk.httpserver [v3]

Josiah Noel duke at openjdk.org
Tue Oct 14 16:46:27 UTC 2025


On Tue, 14 Oct 2025 16:24:01 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

> But that would be an incompatible change, isn't it?

That we even return an inputstream for a GET request is pretty strange but yeah that would indeed block forever. I'll make it so that it'll return the upgrade stream only after 101 is sent to keep compatibility.

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

PR Comment: https://git.openjdk.org/jdk/pull/27751#issuecomment-3402772924


More information about the net-dev mailing list