> 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 with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains nine additional commits since the last revision: - Merge remote-tracking branch 'upstream/master' into h3IdleTimeoutReuse - Improve comments - Remove `numReservedServerStreams == 0` check from `Http2Connection::isIdle` - Copy while accessing the `idleConnectionTimeoutEvent`, which is `volatile` - Double-check idleness - Copy while accessing the `idleConnectionTimeoutEvent`, which is `volatile` - Simplify purge instant extraction in `ConnectionPool` - Fix the problem - Add test reproducing the problem ------------- Changes: - all: https://git.openjdk.org/jdk/pull/32545/files - new: https://git.openjdk.org/jdk/pull/32545/files/1552524b..ba313ba2 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=32545&range=07 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=32545&range=06-07 Stats: 17624 lines in 799 files changed: 9323 ins; 4221 del; 4080 mod Patch: https://git.openjdk.org/jdk/pull/32545.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/32545/head:pull/32545 PR: https://git.openjdk.org/jdk/pull/32545
