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 2020/02/21 21:56:00 UTC
[jira] [Commented] (HTTPCLIENT-2052) RedirectExec tries to follow
redirect even if HttpEntity is non-repeatable
[ https://issues.apache.org/jira/browse/HTTPCLIENT-2052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17042197#comment-17042197 ]
Oleg Kalnichevski commented on HTTPCLIENT-2052:
-----------------------------------------------
[~michael-o] Should be fixed by [PR #214|https://github.com/apache/httpcomponents-client/pull/214] .
Please note HttpClient 5.0 is not affected by this issue.
Oleg
> RedirectExec tries to follow redirect even if HttpEntity is non-repeatable
> --------------------------------------------------------------------------
>
> Key: HTTPCLIENT-2052
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2052
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Reporter: Michael Osipov
> Priority: Major
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Based in the discussion [here|https://www.mail-archive.com/httpclient-users@hc.apache.org/msg09847.html] it seems like {{RedirectExec}} retries the request and tries to send a non-repeatable HTTP entitity again. In the worst case, this may lock up until the server returns a 408.
> The retry shall fail if the HTTP entitity has already been consumed.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org