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

Josiah Noel duke at openjdk.org
Thu Oct 9 14:04:59 UTC 2025


On Thu, 9 Oct 2025 13:29:28 GMT, Josiah Noel <duke at openjdk.org> wrote:

> So I'd suggest to revert [4b00588](https://github.com/openjdk/jdk/pull/27069/commits/4b0058886cf10b1703426acc4131453c46636645) in this PR and possibly discuss that in a followup.

The current implementation auto sends 100-continue before even reaching the handler. So with `4b00588` reverted if we try to send a 100 code with sendResponseHeaders, we are violating the expectation because we are again sending 100-continue instead of the final response. I have updated the test to show this problem and naturally they fail.

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

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


More information about the net-dev mailing list