RFR: 8340182: Java HttpClient does not follow default retry limit of 3 retries
p-nima
duke at openjdk.org
Wed Jun 4 13:16:11 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.
-------------
Commit messages:
- add comment to indicate system default value
- apply review feedback
- fix for the http client default retry limit
Changes: https://git.openjdk.org/jdk/pull/25490/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25490&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8340182
Stats: 118 lines in 2 files changed: 116 ins; 0 del; 2 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