Code-Hex / pget

The fastest, resumable file download client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Attempt to download Linux kernel fails: does not support range request

yurivict opened this issue · comments

$ pget -p 6  https://git.kernel.org/torvalds/t/linux-6.5-rc2.tar.gz
[WARNING] Using a large number of connections to 1 URL can lead to DOS attacks.
In most cases, `4` or less is enough. In addition, the case is increasing that if you use multiple connections to 1 URL does not increase the download speed with the spread of CDNs.
See: https://github.com/Code-Hex/pget#disclaimer

Would you execute knowing these?
 (y/n) [n]: y
Error:
  https://git.kernel.org/torvalds/t/linux-6.5-rc2.tar.gz: does not support range request

go120-1.20.3
FreeBSD 13.2

I am also running into issues where range requests are not supported by servers and I was anticipating using pget. I think this isn't really fixable by pget, at least insofar as I don't think it can -resume- these downloads, but perhaps a flag could be added that says "if range request not available, overwrite if exists"?