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.2, 4.1.1
Environment: All
Reporter: Marcus Bond
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]