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

Michael McMahon michaelm at openjdk.org
Wed Sep 24 06:14:17 UTC 2025


On Tue, 23 Sep 2025 16:15:41 GMT, Josiah Noel <duke at openjdk.org> wrote:

> > we should include as part of this fix, some symbolic constants to represent the special (and counter-intuitive) length values of 0 and -1 for sendResponseHeaders
> 
> I mean I like this too and would appreciate that as well, but it seems a bit unrelated to the current change.
> 
> > This method must be called prior to calling {@link #getResponseBody()}.
> 
> Hm? I do this all the time though. (call `getResponseBody` that is)

I just suggested it because I was planning to include it with the fix. But, I'm happy to file a separate issue for it, and fix it myself.

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

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


More information about the net-dev mailing list