lingochamp / lingochamp/FileDownloader
下载完成误报问题
Open
@rantianhua is already working on this.
Since Aug 25, 2019.
enhancement
- Dominant language
- Java
- Stars
- 11.1k
- Forks
- 2.2k
- PR merge metrics
- No merged PRs in 30d
Description
正如issues上有不少朋友反应的一样,public void completed(BaseDownloadTask task)方法在很多情况下是否不正确的,并且现在最新的版本还有这个问题。先来表述一下我这边的问题吧:
1、先在可以访问互联网的WiFi环境下,下载一个500M的文件;
2、切换到另一个WiFi,在手机上该WiFi显示的是已连接状态,实际上是不能访问互联网的,需要在路由上某html界面认证后才能访问互联网;
3、再点击继续下载上述那个500M的文件,该文件立即显示现在完成,并且文件大小也变成了几百byte,后来想想,这个几百byte的文件,应该就是路由上某html界面对应的那个html文件的大小。
4、其他在WiFi与手机流量之间切换也会出现类似情况;
5、看了issues,有朋友反应反复地进行开始/暂停操作,也会出现文件未下载完而误报现在完成的情况。
请楼主查看下,发生了什么问题,如何修改?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.