Gusev Andrey
Gusev Andrey

Reputation: 456

ASIHTTPRequestErrorDomain Code=4 "The request was cancelled"

I got "Error Domain=ASIHTTPRequestErrorDomain Code=4 \"The request was cancelled\" exception. but I do not cancel the request.

How could it be?

Upvotes: 2

Views: 1862

Answers (1)

JosephH
JosephH

Reputation: 37495

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];

Upvotes: 6

Related Questions