You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (Resolved) (JIRA)" <ji...@apache.org> on 2011/10/26 20:47:32 UTC
[jira] [Resolved] (HTTPCLIENT-1140) Infinite loop on basic
authentication
[ 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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org