RFR: 8349670: HttpServer: sending interim responses fails after JDK-7026262
Josiah Noel
duke at openjdk.org
Mon Sep 22 18:24:16 UTC 2025
On Wed, 3 Sep 2025 12:06:45 GMT, Josiah Noel <duke at openjdk.org> wrote:
> Following the guideline of the last comment on [JDK-8349670](https://bugs.openjdk.org/browse/JDK-8349670?focusedId=14794649&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14794649), resolves the issue where sending a 1xx status code would close the input stream, preventing the server from reading the body.
>
> - Adds a new flag checking if the incoming request is an upgrade request.
> - When receiving an upgrade request, directly return the input/output stream
> - When a 1xx status code is sent by `sendResponseHeaders`, the input/output streams will not be closed prematurely.
> - sentHeaders will not be set to true when sending 1xx status codes
It turns out I had previously signed the OCA but forgot to put my GH username on it.
Edit: no wait my OCA does have my GH username on it?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27069#issuecomment-3255936539
More information about the net-dev
mailing list