On Wed, 5 Aug 2026 13:09:49 GMT, Lee Jiwon <[email protected]> wrote:

>> This adds a ServerSocket-based regression test for the case where an 
>> unknown-length body publisher emits a single empty buffer.
>> The test verifies that the server observes exactly one HTTP/1.1 terminal 
>> chunk. 
>> No production code or HTTP/2/HTTP/3 behavior is changed.
>> 
>> ---------
>> - [x] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Lee Jiwon has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   8308183: Convert the regression test to JUnit and update the bug tag

test/jdk/java/net/httpclient/Http1RequestEmptyBufferTest.java line 115:

> 113:                     null);
> 114:             HttpClient client = HttpClient.newBuilder()
> 115:                     .proxy(HttpClient.Builder.NO_PROXY)

Ideally we should use try-with-resources here too to make sure the client is 
closed when no longer needed

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

PR Review Comment: https://git.openjdk.org/jdk/pull/32209#discussion_r3757363821

Reply via email to