You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/12/10 19:13:00 UTC
[jira] [Commented] (HTTPCLIENT-2019) Remove
ServiceUnavailableRetryStrategy in favor of HttpRequestRetryStrategy
[ https://issues.apache.org/jira/browse/HTTPCLIENT-2019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16992859#comment-16992859 ]
ASF subversion and git services commented on HTTPCLIENT-2019:
-------------------------------------------------------------
Commit 91cef76bfbef354d9459f5b4abfdfa5fb69ab4bf in httpcomponents-client's branch refs/heads/HTTPCLIENT-2019 from Michael Osipov
[ https://gitbox.apache.org/repos/asf?p=httpcomponents-client.git;h=91cef76 ]
HTTPCLIENT-2019: Remove ServiceUnavailableRetryStrategy in favor of HttpRequestRetryStrategy
> Remove ServiceUnavailableRetryStrategy in favor of HttpRequestRetryStrategy
> ---------------------------------------------------------------------------
>
> Key: HTTPCLIENT-2019
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2019
> Project: HttpComponents HttpClient
> Issue Type: Improvement
> Components: HttpClient (classic)
> Affects Versions: 4.5.10, 5.0 Beta6
> Reporter: Michael Osipov
> Assignee: Michael Osipov
> Priority: Major
> Fix For: 5.0 Beta7
>
> Time Spent: 5h 50m
> Remaining Estimate: 0h
>
> Based on a [discussion|http://mail-archives.apache.org/mod_mbox/hc-dev/201910.mbox/%3Cff79e9739c5aa8639ee785e6848c9e5112113ee5.camel%40apache.org%3E] on the mailing list, the name {{ServiceUnavailableRetryStrategy}} implies that this interface is only suited for HTTP status code 503, but you make handle any 3xx, 4xx, 5xx code. Therefore, this interface should be renamed to something better/more generic like {{RetryStrategy}}.
--
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