Recreate the patch file instead of only truncating it, on failed HTTP downloads
[?]
Mar 8, 2021, 9:06 PM
R4RRU65V3ERJBPKTBBZDOQ4PE3F7UPYMVUBPFPF5VVTFIWTWTJMACDependencies
- [2]
4CEHBW7YTruncate files when restarting a HTTP transfer - [3]
TPEH2XNB1.0.0-alpha.28, with Tokio 1.0 - [4]
IQ4FCHPZHTTP connections: pooling + retry on error - [*]
FBXYP7QMForgot to add remote::http - [*]
VBMXB443Retrying if the HTTP connection drops while reading the body
Change contents
- edit in pijul/src/remote/http.rs at line 37
f = std::fs::File::create(&path_)?; - edit in pijul/src/remote/http.rs at line 39
f.set_len(0)?; - edit in pijul/src/remote/http.rs at line 55[7.593][3.1262]
f = std::fs::File::create(&path_)?;