RFR: 8352623: MultiExchange should cancel exchange impl if responseFilters throws

Daniel Fuchs dfuchs at openjdk.org
Fri Mar 21 16:52:18 UTC 2025


When adding authClient.close() noAuthClient.close() to UnauthorizedTest::teardown, the test fails in jtreg timeout.
Usage of the ReferenceTracker reveals that some streams have been left dangling, and this can be tracked to the MultiExchange not cancelling the stream when responseFilters throws.

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

Commit messages:
 - 8352623

Changes: https://git.openjdk.org/jdk/pull/24164/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24164&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8352623
  Stats: 59 lines in 2 files changed: 17 ins; 6 del; 36 mod
  Patch: https://git.openjdk.org/jdk/pull/24164.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24164/head:pull/24164

PR: https://git.openjdk.org/jdk/pull/24164


More information about the net-dev mailing list