-
Notifications
You must be signed in to change notification settings - Fork 0
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
Some links don't download correctly #157
Comments
@zzl221000 Thanks for the bug report.
|
@xrelkd Not downloading correctly root@JimZhang:~/caracal# cargo run --bin caracal -- https://testfileorg.netwet.net/testfile.org-1GB-%20Corrupt.zip
Finished dev [unoptimized + debuginfo] target(s) in 0.13s
Running `target/debug/caracal 'https://testfileorg.netwet.net/testfile.org-1GB-%20Corrupt.zip'`
⠈ [00:00:35] [3/6 testfile.org-1GB-%20Corrupt.zip] [###########################] 37.15 MiB/s 100% 1.48 GiB/1.00 GiB (0s)
root@JimZhang:~/caracal# git branch -a
develop
* fix/issue-157
remotes/origin/HEAD -> origin/develop
remotes/origin/develop
remotes/origin/feat/yew
remotes/origin/fix/issue-157
remotes/origin/main |
Alternatively, we can use hash to verify the correctness of the file. |
It seems that the The server returns status code 200 instead of status code 206, when we try to fetch partial content from it with
You can use a single worker to download the file. We tested the server with The only thing we can do is to refuse using multiple connections when the server does not guarantee use to fetch partial content every time. |
Investigated aria2's issue and it runs into the same problem, just triggered differently. |
False RANGE support
https://testfileorg.netwet.net/testfile.org-1GB-%20Corrupt.zip
Perhaps a Range request header could be added to the head request to determine if Range is supported in the correct response
The text was updated successfully, but these errors were encountered: