We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2412ac commit 5bab71aCopy full SHA for 5bab71a
src/util/retry_util.cpp
@@ -5,7 +5,7 @@ namespace qcloud_cos {
5
6
7
bool RetryUtil::ShouldRetryWithChangeDomain(CosResult result) {
8
- if ((result.GetHttpStatus() != 200 && result.GetXCosRequestId().empty()) && CosSysConfig::GetRetryChangeDomain())
+ if ((result.GetHttpStatus()/100 != 2 && result.GetXCosRequestId().empty()) && CosSysConfig::GetRetryChangeDomain())
9
{
10
return true;
11
}
0 commit comments