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

Non-threadsafe HttpClientContext is shared between threaded use of HttpClientWagon

    Details

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

      Description

      The HttpClientContext is used as an instance private object, populated only once during connect(). The Wagon instance can be shared between multiple threads causing any kind of side effects to the requests like failing auth or abnormal redirects.

      With the Jetty 8 upgrade of all tests several unit tests failed to authenticate.

      This issue has been found during WAGON-474.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                michael-o Michael Osipov
                Reporter:
                michael-o Michael Osipov
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: