Add automatic resume flag when retrying download with curl
Should fix the resume issue that caused #2853 to be reopened.
Simply adds the resume flag -C and tells curl to automatically figure out where to resume the download with -.
Sorry for being a bit slow to respond yesterday ended up being busy!
I did some manual testing by kill switching my network with my VPN (adding a video below to show the behavior). unknown.webm
I could look into adding an actual test case for this but I would probably need some guidance as I'm fairly new to rust and I wouldn't exactly be sure how to go about testing this properly
I did some manual testing by kill switching my network with my VPN (adding a video below to show the behavior). unknown.webm
Looks good. Thank you!
I could look into adding an actual test case for this but I would probably need some guidance as I'm fairly new to rust and I wouldn't exactly be sure how to go about testing this properly
I don't think there's a way to test it in code, so manual testing is good enough.
Sorry that it took a while again ended up being more busy than expected.
Added the check to verify that --continue-at is available and cleaned up some indentation
There we go, commits have been squashed!
Thanks again! 💚 💙 💜 💛 ❤️