[ https://issues.apache.org/jira/browse/MRESOLVER-703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Didier Loiseau updated MRESOLVER-703: ------------------------------------- Description: Backport MRESOLVER-603 to 1.9: {quote}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). {quote} was: 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) > 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: Slawomir Jaranowski > Priority: Major > Fix For: 1.9.23 > > > Backport MRESOLVER-603 to 1.9: > {quote}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). > {quote} -- This message was sent by Atlassian Jira (v8.20.10#820010)