Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

把所有下载都暂停之后过几分钟会都失败 #13

Closed
ghost opened this issue Sep 1, 2017 · 1 comment
Closed

把所有下载都暂停之后过几分钟会都失败 #13

ghost opened this issue Sep 1, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented Sep 1, 2017

把所有的下载都暂停了, 等待一段时间, 会走代理方法 - (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didCompleteWithError:(NSError *)error
报错: Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={NSUnderlyingError=0x610000054cd0 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, NSErrorFailingURLStringKey=http://yxfile.idealsee.com/9f6f64aca98f90b91d260555d3b41b97_mp4.mp4, NSErrorFailingURLKey=http://yxfile.idealsee.com/9f6f64aca98f90b91d260555d3b41b97_mp4.mp4, _kCFStreamErrorDomainKey=4, _kCFStreamErrorCodeKey=-2102, NSLocalizedDescription=The request timed out.}

@guowilling
Copy link
Owner

呃, 暂停后过段时间, 系统可能会自动判定为超时, 我先看看是否有解决方案.

@guowilling guowilling changed the title 把所有下载都暂停之后 过几分钟 会都失败 把所有下载都暂停之后过几分钟会都失败 Mar 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant