diff --git a/AFDownloadRequestOperation.m b/AFDownloadRequestOperation.m index a85c157..97662a6 100644 --- a/AFDownloadRequestOperation.m +++ b/AFDownloadRequestOperation.m @@ -210,6 +210,9 @@ - (void)pause { - (id)responseObject { @synchronized(self) { + // found if i got wrong url, the failureBlock cannot callback. because of the self.error is set by super.responseObject. so: + [super responseObject]; + if (!_responseObject && [self isFinished] && !self.error) { NSError *localError = nil; if ([self isCancelled]) {