Uploaded image for project: 'Maven Resolver'
  1. Maven Resolver
  2. MRESOLVER-603

Apache HTTP transport should expose config for max redirects

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.9.x
    • 2.0.2, 1.9.23
    • Resolver
    • None

    Description

      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)

      Attachments

        Issue Links

          Activity

            People

              cstamas Tamas Cservenak
              Didier Loiseau Didier Loiseau
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: