[jdk11u-dev] RFR: 8232625: HttpClient redirect policy should be more conservative

duke duke at openjdk.org
Thu May 8 10:33:56 UTC 2025


On Wed, 7 May 2025 10:58:14 GMT, Antonio Vieiro <duke at openjdk.org> wrote:

> Clean backport of [JDK-8232625](https://bugs.openjdk.org/browse/JDK-8232625)  that improves HttpClient redirection by dropping the body when the HTTP request method changes.
> 
> Tested on linux with tier1 tests and the following:
> 
> 
> ==============================
> Test summary
> ==============================
>    TEST                                              TOTAL  PASS  FAIL ERROR   
>    jtreg:test/jdk/java/net/httpclient                  204   204     0     0   
> ==============================
> TEST SUCCESS

@vieiro 
Your change (at version 53ab8f114a01e4b90843fba2b731100c7e4ba38e) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk11u-dev/pull/3030#issuecomment-2862559670


More information about the jdk-updates-dev mailing list