Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ios
/
yh_sdwebimage
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
Bogdan Poplauschi
2017-01-30 08:12:00 +0200
Committed by
GitHub
2017-01-30 08:12:00 +0200
Commit
1f52288a8bdcb7be53fcbe42e1a82a219f7cf206
2 parents
1777032d
57502a9d
Merge pull request #1767 from sunXiChun/master
add a network error situation
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
SDWebImage/SDWebImageManager.m
SDWebImage/SDWebImageManager.m
View file @
1f52288
...
...
@@ -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
]
;
}
...
...
Please
register
or
login
to post a comment