RFR: 8331195: Improve com.sun.net.httpserver.HttpExchange usability [v6]
Jaikiran Pai
jpai at openjdk.org
Mon Nov 10 13:47:22 UTC 2025
On Mon, 10 Nov 2025 13:37:05 GMT, Michael McMahon <michaelm at openjdk.org> wrote:
>> test/jdk/com/sun/net/httpserver/bugs/8300268/MaxIdleConnectionsTest.java line 136:
>>
>>> 134: System.out.println("Sending response for request " + exchange.getRequestURI() + " from " + exchange.getRemoteAddress());
>>> 135: reqFinishedProcessing.countDown();
>>> 136: exchange.sendResponseHeaders(200, RSPBODY_CHUNKED);
>>
>> Should this use `RSPBODY_EMPTY` instead?
>
> As noted above, I decided to change it in one place, but leave it as is, in others.
Thank you Michael. That's fine with me.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28132#discussion_r2510636634
More information about the net-dev
mailing list