RFR: 8349670: HttpServer: sending interim responses fails after JDK-7026262 [v21]

Daniel Fuchs dfuchs at openjdk.org
Fri Oct 10 16:01:50 UTC 2025


On Fri, 10 Oct 2025 15:46:47 GMT, Josiah Noel <duke at openjdk.org> wrote:

> Adding auto-send in getRequestBody().read() allows this though? put a sleep in the handler before getRequestBody().read(). You have control if/when the 100 is sent, no new public method required.


The way we would do this with our HTTP/2 test server is to consume the first byte of the request body before sending 100, so as not send 100 before having received the first byte of the body.

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

PR Comment: https://git.openjdk.org/jdk/pull/27069#issuecomment-3390930387


More information about the net-dev mailing list