HttpComponents HttpClient
  1. HttpComponents HttpClient
  2. HTTPCLIENT-1168

HTTPClient doesn't send authentication header in threaded environment

    Details

      Description

      Using HTTPClient with multiple threads and basic authentication seems to create a race condition. The request headers sometimes don't contain the authorization entry, which results in a 401 (although the username and password credentials are correctly set).

        Activity

        Lennart Diedrich created issue -
        Lennart Diedrich made changes -
        Field Original Value New Value
        Attachment ThreadedHttpBasicAuthTest.java [ 12516190 ]
        Oleg Kalnichevski made changes -
        Fix Version/s 4.2 Beta2 [ 12319860 ]
        Priority Major [ 3 ] Minor [ 4 ]
        Oleg Kalnichevski made changes -
        Component/s Documentation [ 12311015 ]
        Component/s HttpClient [ 12311010 ]
        Oleg Kalnichevski made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Oleg Kalnichevski made changes -
        Fix Version/s 4.2 Final [ 12316086 ]
        Fix Version/s 4.2 Beta2 [ 12319860 ]
        Oleg Kalnichevski made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Lennart Diedrich
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development