You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When serving a file through --serve , The links can not be resumed or use multi connections although it does support range header(which failed)
If you send a request with Range: bytes=0-999999 header, its download less then 1000000 bytes and curl shown this error : transfer closed with 475712 bytes remaining to read0
You can increase or change the range specified in range header, but the result would be same if range is partial and not full file.
To Reproduce
1- Run a server with --serve command
2- Try to download a file from it
3- stop download after few mB
4- try to resume download
or
2- Send a request with range header and see the result length
Expected behavior
When i send a Range: bytes=0-999999 header with my request, I expect to receive bytes from 0 to 999999 which is 1000000 bytes.
Describe the bug
When serving a file through --serve , The links can not be resumed or use multi connections although it does support range header(which failed)
If you send a request with
Range: bytes=0-999999
header, its download less then 1000000 bytes and curl shown this error :transfer closed with 475712 bytes remaining to read0
You can increase or change the range specified in range header, but the result would be same if range is partial and not full file.
To Reproduce
1- Run a server with --serve command
2- Try to download a file from it
3- stop download after few mB
4- try to resume download
or
2- Send a request with range header and see the result length
Expected behavior
When i send a
Range: bytes=0-999999
header with my request, I expect to receive bytes from 0 to 999999 which is 1000000 bytes.Version
Version: 0.18.3
Commit: 3cac28d
Date: 2024-11-29T08:24:07Z
go1.21.13 linux/amd64
Which OS are you running tdl on?
Linux
Additional context
No response
The text was updated successfully, but these errors were encountered: