On Fri, 28 Aug 2026 12:00:57 GMT, Volkan Yazici <[email protected]> wrote:

>> Fix the reuse of timed out idle HTTP Client connections when the eviction 
>> gets delayed.
>> 
>> The added test has certain assumptions to reproduce the problem. That said, 
>> it consistently, almost always, fails if the associated fix is missing. Put 
>> another way, the test can pass without the fix.
>> 
>> ---------
>> - [X] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Volkan Yazici has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Double-check idleness

src/java.net.http/share/classes/jdk/internal/net/http/Http2Connection.java line 
674:

> 672:         stateLock.lock();
> 673:         try {
> 674:             return finalStream() && isIdle();

Note that previously we weren't checking against `numReservedServerStreams == 
0`, now we do.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/32545#discussion_r3880402768

Reply via email to