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 1de2047 commit df8344cCopy full SHA for df8344c
QiniuSDK/Http/QNResponseInfo.m
@@ -262,8 +262,7 @@ - (BOOL)canConnectToHost{
262
263
- (BOOL)isHostUnavailable{
264
// 基本不可恢复,注:会影响下次请求,范围太大可能会造成大量的timeout
265
- if ((_statusCode >= -2000 && _statusCode <= -1200)
266
- || _statusCode == 502 || _statusCode == 503 || _statusCode == 504 || _statusCode == 599) {
+ if (_statusCode == 502 || _statusCode == 503 || _statusCode == 504 || _statusCode == 599) {
267
return true;
268
} else {
269
return false;
0 commit comments