You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Slawomir Jaranowski (Jira)" <ji...@apache.org> on 2025/04/24 21:06:00 UTC
[jira] [Created] (MRESOLVER-703) Apache HTTP transport should expose config for max redirects
Slawomir Jaranowski created MRESOLVER-703:
---------------------------------------------
Summary: Apache HTTP transport should expose config for max redirects
Key: MRESOLVER-703
URL: https://issues.apache.org/jira/browse/MRESOLVER-703
Project: Maven Resolver
Issue Type: Improvement
Components: Resolver
Affects Versions: 1.9.x
Reporter: Didier Loiseau
Assignee: Tamas Cservenak
Fix For: 1.9.23, 2.0.2
Apache HttpClient allows to {{{}RequestConfig.maxRedirects{}}}. It would be nice to expose it through configuration as for Jetty (MRESOLVER-595) and Wagon.
Also note that setting it to 0 actually sets a value of 50, so it could be nice to be able to disable redirects entirely (as for Jetty).
Ideally this should be implemented in 1.9.x since it {{HttpTransport}} is the default in Maven 3.9. (apparently the fix version was copied from MRESOLVER-595 when I cloned it)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)