RFR: 8340182: Java HttpClient does not follow default retry limit of 3 retries [v5]
p-nima
duke at openjdk.org
Thu Jun 12 15:33:50 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 and update java docs to clarify authentication retry behaviour
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/25490/files
- new: https://git.openjdk.org/jdk/pull/25490/files/7a9eb0b2..9e8f29ee
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=25490&range=04
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=25490&range=03-04
Stats: 8 lines in 3 files changed: 1 ins; 4 del; 3 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