On Wed, 19 Nov 2025 10:33:46 GMT, Jaikiran Pai <[email protected]> wrote:

>> Can I please get a review for this fix which addresses a connection leak in 
>> HttpClient when dealing with HTTP/2 requests?
>> 
>> I have added a comment in https://bugs.openjdk.org/browse/JDK-8326498 which 
>> explains what the issue is. The fix here addresses the issue by cleaning up 
>> the `Http2Connection` closing logic and centralizing it to a connection 
>> terminator. The terminator then ensures that the right resources are closed 
>> (including the underlying SocketChannel) when the termination happens.
>> 
>> A new jtreg test has been introduced which reproduces the issue and verifies 
>> the fix.
>
> Jaikiran Pai has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   use Utils.toIOException()

I've updated the PR to address several of the review comments and I don't have 
any more planned changes to this PR, unless of course for any new review 
comments. CI tier run is currently in progress with these changes.

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

PR Comment: https://git.openjdk.org/jdk/pull/28233#issuecomment-3552000926

Reply via email to