RFR: 8331195: Improve com.sun.net.httpserver.HttpExchange usability [v6]
Michael McMahon
michaelm at openjdk.org
Mon Nov 10 13:40:14 UTC 2025
On Mon, 10 Nov 2025 11:24:57 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:
>> Michael McMahon has updated the pull request incrementally with one additional commit since the last revision:
>>
>> updated remaining callsites for new constants
>
> 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.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28132#discussion_r2510609035
More information about the net-dev
mailing list