AFNetworking/AFNetworking — Issue #232: How to JSONRequestOperation cancel immediately?
Author: rigroch
Created: 2012-03-07 05:55:34+00:00
State: open

Hi, First Sorry About My English is so little.

I used this code;

AFJSONRequestOperation *operation = blabla...

[operation start];

and next try:

[operation cancel];

this operation looks like cancel, but, not immediately.

for example,
A and B operation's URLRequest,
A take 10 seconds
B take 1 seconds

if try this code:

...JSONRequestOperationWithRequest: A...
[operation start];
[operation cancel];

shortly afer

...JSONRequestOperationWithRequest: B...
[operation start];

operation end time is not 1 second, it's 11 second...

Please tell me right solution, or source fix...

my email is rigroch@gmail.com, please reply me...