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).

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

Commit messages:
 - Fix the problem
 - Add test reproducing the problem

Changes: https://git.openjdk.org/jdk/pull/32545/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=32545&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8384192
  Stats: 318 lines in 4 files changed: 301 ins; 12 del; 5 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

Reply via email to