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 (JIRA)" <ji...@apache.org> on 2013/05/29 15:01:21 UTC

[jira] [Resolved] (HTTPCLIENT-1359) Repeated Requests Using the Same Context Fail If They Redirect

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

Oleg Kalnichevski resolved HTTPCLIENT-1359.
-------------------------------------------

    Resolution: Fixed

Applied a slightly different, simpler fix (but borrowed all your test cases). Please review.

Oleg
                
> 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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org