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

Oleg Kalnichevski resolved HTTPCLIENT-1140.
-------------------------------------------

       Resolution: Fixed
    Fix Version/s: 4.1.3

Fixed in the 4.1.x branch. The trunk does not seem to be affected.

Oleg
                
> Infinite loop on basic authentication
> -------------------------------------
>
>                 Key: HTTPCLIENT-1140
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1140
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient
>    Affects Versions: 4.1.1, 4.1.2
>         Environment: All
>            Reporter: Marcus Bond
>             Fix For: 4.1.3
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Class org.apache.http.impl.client.DefaultRequestDirector has a bug whereby 
> when Authentication fails if the log is not warnEnabled then you will receive 
> a retry request and end up in an infinite loop retrying requests.. This 
> occurred for me when SL4J was being picked up as the implementation but not 
> properly configured.
> In 4.1.2 the line number of the offending code is in the handleResponse 
> method, line 1126, the return null statement requires moving outside of the 
> if statement that checkes if the log is warn enabled.

--
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