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

当前url请求失败或者下载异常,如何通过备用url或者ip直连的方式重试, #509

Open
zjt123 opened this issue Apr 8, 2024 · 2 comments

Comments

@zjt123
Copy link

zjt123 commented Apr 8, 2024

OkDownload Version

v1.0.8-SNAPSHOT

Problem Describe

当前url请求失败或者下载异常,如何通过备用url或者ip直连的方式重试,有没有类似的方案。目前想到的是再回调进行判断处理,这个方案感觉不太好

@Jacksgong @tianshaokai

Log

@tianshaokai
Copy link

总之就是重试,目前库里并没有这个方案,或者接入httpdns @zjt123 你可以修改库实现这个

@zjt123
Copy link
Author

zjt123 commented Apr 8, 2024

总之就是重试,目前库里并没有这个方案,或者接入httpdns @zjt123 你可以修改库实现这个

好的谢谢

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

2 participants