[Bug] When telegram downloads a 4000M large file, sometimes the progress is stuck at 100%
Describe the bug
When telegram downloads a 4000M large file, sometimes the progress is stuck at 100%
Restart download by 'restart' flag
All files will be downloaded to './downloads' dir
CPU: 2.00% Memory: 32.83 MB Goroutines: 40
『秋实红叶』 硕果累累(1958124156):60 ->~ ... 100.0% [#######.] [3.91 GB in 23m6.523s; ~ETA: 14s; 2.88 MB/s]
[################################################.] [23m7s; 2.88 MB/s]
After a long period of time, the program will report an error and end running, unless it is terminated manually.
To Reproduce
tdl dl -u https://t.me/1958124156/60 --template {{.FileName}} -d ./downloads --restart
Restart download by 'restart' flag
All files will be downloaded to './downloads' dir
CPU: 2.00% Memory: 32.83 MB Goroutines: 40
『秋实红叶』 硕果累累(1958124156):60 ->~ ... 100.0% [#######.] [3.91 GB in 23m6.523s; ~ETA: 14s; 2.88 MB/s]
[################################################.] [23m7s; 2.88 MB/s]
Expected behavior
At this point the file has finished downloading and it should not be stuck at 100%
Version
Version: 0.18.5 Commit: 2321013 Date: 2025-01-25T11:11:37Z
go1.21.13 linux/amd64
Which OS are you running tdl on?
Linux
Additional context
No response
hey can you help me out with setting up? im a newbie
嘿,您能帮我设置吗?我是新手
I'd love to help you, but I don't know much about it so I probably can't help you much.
maybe you could download some files for me? 😅
maybe you could download some files for me? 😅
A small amount is ok
Whats your instagram? 😁
Whats your instagram? 😁
I don't use instagram, I only use telegram and discord
sharpie0426 on discord
sharpie0426 on discord
I have sent a friend request to sharpie0426
Same as #611
Reducing Threads (-t 2) decreases the chances of happening but it can still happen.