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

Daniel Fuchs dfuchs at openjdk.org
Fri Oct 10 16:33:46 UTC 2025


On Fri, 10 Oct 2025 16:10:08 GMT, Josiah Noel <duke at openjdk.org> wrote:

> That is invalid. The whole purpose is to enable the client to avoid sending the request body until the 100 Continue is received (i.e all headers validated by the handler).

Well - this is a test server - and it's useful to be able to do "invalid" things in order to test how the client reacts. And note that this is not strictly invalid, since from the client standpoint - it looks exactly the same as if the handling of the request had been delayed on the server side. The client has no way to know that the server has consumed the first byte.

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

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


More information about the net-dev mailing list