[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-1168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lennart Diedrich updated HTTPCLIENT-1168:
-----------------------------------------

    Attachment: ThreadedHttpBasicAuthTest.java

Simple test to demonstrate the issue.
                
> HTTPClient doesn't send authentication header in threaded environment
> ---------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-1168
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1168
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient
>    Affects Versions: 4.1.3, 4.2 Beta1
>            Reporter: Lennart Diedrich
>              Labels: auth, authentication, basic, multithread, thread
>         Attachments: ThreadedHttpBasicAuthTest.java
>
>
> 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). 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to