Authored by Bogdan Poplauschi

Merge pull request #994 from initlifeinc/master

duplicate failed urls are added into failedURLs
... ... @@ -194,7 +194,9 @@
if (error.code != NSURLErrorNotConnectedToInternet && error.code != NSURLErrorCancelled && error.code != NSURLErrorTimedOut) {
@synchronized (self.failedURLs) {
[self.failedURLs addObject:url];
if (![self.failedURLs containsObject:url]) {
[self.failedURLs addObject:url];
}
}
}
}
... ...