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

p-nima duke at openjdk.org
Tue Jun 10 14:38:29 UTC 2025


On Wed, 4 Jun 2025 13:46:55 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

>> @p-nima, the handler still accepts all calls to `/`, you only salted the request URI. Would you mind doing the same in `httpTestServer.addHandler(...)` too, please? (You better create a `String requestPath` variable and use it both at the handler and the request.)
>
> Yes - this line needs to be modified too.

The changes have been made in 2d0325649e4d0f67e25aa30ba36c1c2555bc59b9. The server handler path has been salted with the requestPath.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25490#discussion_r2138073937


More information about the net-dev mailing list