[prev in list] [next in list] [prev in thread] [next in thread] 

List:       httpclient-commons-dev
Subject:    [jira] [Resolved] (HTTPCLIENT-1140) Infinite loop on basic
From:       "Oleg Kalnichevski (Resolved) (JIRA)" <jira () apache ! org>
Date:       2011-10-26 18:47:32
Message-ID: 1313294002.19595.1319654852313.JavaMail.tomcat () hel ! zones ! apache ! org
[Download RAW message or body]


     [ 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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic