On Wed, 18 Feb 2026 13:14:39 GMT, Daniel Fuchs <[email protected]> wrote:
>> Josiah Noel has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> Update UpgradeOutputStream.java
>
> src/jdk.httpserver/share/classes/sun/net/httpserver/UpgradeInputStream.java
> line 46:
>
>> 44: if (!t.upgraded) {
>> 45: return -1;
>> 46: }
>
> This will prevent draining the input stream properly if the request is not
> upgraded.
the recent commit prevents an UpgradeInputStream from being given if the GET
request has a body, so there is nothing to drain.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27989#discussion_r2822695030