add a network error situation

This commit is contained in:
xichun 2017-01-06 11:40:28 +08:00
parent 5ea33a7095
commit 57502a9d1d
1 changed files with 2 additions and 1 deletions

View File

@ -186,7 +186,8 @@
&& error.code != NSURLErrorInternationalRoamingOff
&& error.code != NSURLErrorDataNotAllowed
&& error.code != NSURLErrorCannotFindHost
&& error.code != NSURLErrorCannotConnectToHost) {
&& error.code != NSURLErrorCannotConnectToHost
&& error.code != NSURLErrorNetworkConnectionLost) {
@synchronized (self.failedURLs) {
[self.failedURLs addObject:url];
}