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

James Leigh updated HTTPCLIENT-1359:
------------------------------------

    Attachment: HTTPCLIENT-1359.patch

The attached patch resets the redirect locations when a redirect response is 
received that is not in response to the previous redirect received. In other 
words, when the redirect chain is broken, the list of blocked locations is 
reset.
                
> Repeated Requests Using the Same Context Fail If They Redirect
> --------------------------------------------------------------
>
>                 Key: HTTPCLIENT-1359
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1359
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient
>    Affects Versions: 4.3 Beta1
>            Reporter: James Leigh
>              Labels: patch
>             Fix For: 4.3 Beta2
>
>         Attachments: HTTPCLIENT-1359.patch
>
>
> If the same request (or redirects to the same location) is executed twice 
> with the same context, an exception is throw if the request redirects, follow 
> redirects is enabled, and circular redirects are disabled.
> I would expect that circular redirects with only block redirects that 
> potentially may result in an infinite loop, not block requests to locations 
> that have already been requested (via a redirect).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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