Uploaded image for project: 'Maven Wagon'
  1. Maven Wagon
  2. WAGON-449

CLIENT not changed after setting PoolingHttpClientConnectionManager

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.8, 2.9, 2.10
    • Fix Version/s: 2.12
    • Component/s: wagon-http
    • Labels:
      None

      Description

      The AbstractHttpClientWagon class statically creates both a PoolingHttpClientConnectionManager and a client that uses said connection manager. This is fine, had it not been the case that the client itself is a final field and is never updated.

      Thus, using setPoolingHttpClientConnectionManager has no effect as the client is based on the PoolingHttpClientConnectionManager created at startup. This affects users that e.g. may want to change the SSLContext to support self-signed certificates.

        Attachments

          Activity

            People

            • Assignee:
              olamy Olivier Lamy (*$^¨%`£)
              Reporter:
              jeannikl@hypirion.com Jean Niklas L'orange
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: