开发者

ASIHTTPRequestErrorDomain Code=4 "The request was cancelled"

开发者 https://www.devze.com 2023-03-29 14:11 出处:网络
I got \"Error Domain=ASIHTTPRequestErrorDomain 开发者_如何学GoCode=4 \\\"The request was cancelled\\\" exception. but I do not cancel the request.

I got "Error Domain=ASIHTTPRequestErrorDomain 开发者_如何学GoCode=4 \"The request was cancelled\" exception. but I do not cancel the request.

How could it be?


By default, if a request running in a queue fails, all other requests in the queue will be cancelled.

You can disable this with:

[queue setShouldCancelAllRequestsOnFailure:NO];
0

精彩评论

暂无评论...
验证码 换一张
取 消