RFR: 8340182: Java HttpClient does not follow default retry limit of 3 retries [v2]

p-nima duke at openjdk.org
Fri Jun 6 14:39:16 UTC 2025


> The AuthenticationFilter did not respect the default retry limit of 3 retries in case of invalid credentials supplied.
> 
> This PR helps to resolve the bug and tests it with default and updated retry limit set via `jdk.httpclient.auth.retrylimit=1`.
> 
> The test is green with tiers 1, 2, 3 and the test is stable.

p-nima has updated the pull request incrementally with one additional commit since the last revision:

  apply review feedback

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/25490/files
  - new: https://git.openjdk.org/jdk/pull/25490/files/cdf78127..2d032564

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=25490&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=25490&range=00-01

  Stats: 252 lines in 2 files changed: 136 ins; 116 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/25490.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25490/head:pull/25490

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


More information about the net-dev mailing list