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

Non-threadsafe HttpClientContext is shared between threaded use of HttpClientWagon

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.11
    • 2.12
    • wagon-http
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: