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

Fix local proxy #7132

Merged
merged 2 commits into from
Sep 8, 2024
Merged

Fix local proxy #7132

merged 2 commits into from
Sep 8, 2024

Conversation

foxxorcat
Copy link
Contributor

fix: #7112 #7030
问题: 本地走代理时使用io.ReadSeek接口,共用一个link导致数据污染

考虑到代理时会自动调用io.Close接口,所以不使用io.ReadAt修复, 代价是可能会创建大量文件句柄。
#7030 中的网盘走代理时文件损坏无法复现,可能是 #7003 完成修复

@xhofe xhofe merged commit c9fa3d7 into AlistGo:main Sep 8, 2024
3 checks passed
Three-taile-dragon pushed a commit to loognsss/blist that referenced this pull request Sep 26, 2024
* fix: local proxy download file damage

* fix: temp dir remove
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

小米和vivo手机自带浏览器下载文件损坏
2 participants