Remove test for URL's that might not be feeds since it is running on the main thread. Issue #2498
This commit is contained in:
parent
8007ff2c70
commit
dba253601e
@ -135,16 +135,6 @@ extension LocalAccountRefresher: DownloadSessionDelegate {
|
||||
return false
|
||||
}
|
||||
|
||||
if data.count > 4096 {
|
||||
let parserData = ParserData(url: feed.url, data: data)
|
||||
if FeedParser.mightBeAbleToParseBasedOnPartialData(parserData) {
|
||||
return true
|
||||
} else {
|
||||
delegate?.localAccountRefresher(self, requestCompletedFor: feed)
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
return true
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user