You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2024/10/12 16:34:00 UTC

[jira] [Commented] (MRESOLVER-603) Apache HTTP transport should expose config for max redirects

    [ https://issues.apache.org/jira/browse/MRESOLVER-603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17888925#comment-17888925 ] 

ASF GitHub Bot commented on MRESOLVER-603:
------------------------------------------

cstamas opened a new pull request, #581:
URL: https://github.com/apache/maven-resolver/pull/581

   maxRedirects and followRedirects exposed.
   
   ---
   
   https://issues.apache.org/jira/browse/MRESOLVER-603




> Apache HTTP transport should expose config for max redirects
> ------------------------------------------------------------
>
>                 Key: MRESOLVER-603
>                 URL: https://issues.apache.org/jira/browse/MRESOLVER-603
>             Project: Maven Resolver
>          Issue Type: Improvement
>          Components: Resolver
>    Affects Versions: 1.9.x
>            Reporter: Didier Loiseau
>            Assignee: Tamas Cservenak
>            Priority: Major
>             Fix For: 2.0.2, 1.9.23
>
>
> 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)