hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Leigh (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HTTPCLIENT-1359) Repeated Requests Using the Same Context Fail If They Redirect
Date Tue, 28 May 2013 20:05:19 GMT

     [ 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

I did not explain myself very well, but in retrospect the scenario was so unusual it is not
worth checking. I have updated the patch and removed that logic.

Now the patch just modifies DefaultRedirectStrategy to check when the redirect chain is over
(to reset the redirect locations).
> 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

View raw message