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

很小概率遇到一个很奇怪的问题,文件正常下载完成了,size 是对的,文件内容有一段错位了,导致文件是损坏的 #1445

Open
xlz05460 opened this issue Jun 26, 2024 · 0 comments

Comments

@xlz05460
Copy link

fille downloader 版本是 1.7.2
下载用的连接器是默认 FileDownloadUrlConnection

Log 显示下载任务是正常完成了,也即是
protected void completed(BaseDownloadTask baseDownloadTask) {}
正常调用了。
检查下载好的这个文件,发现 size 大小是对的,但是 md5 不对;
然后再对比下载文件与原文件,发现有段内容大概长度在 48 个字符左右吧,位置后移了一段。
整体文件大小是不变的,就是内容借位了,导致这个文件是损坏的,没法正常使用。

这个现象没法正常复现,但是半年内发生了好几次,不知道是啥原因。

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
@xlz05460 and others