Proper renaming of changes downloaded over HTTP
[?]
Dec 28, 2020, 9:41 PM
BVVMTOYWG4WSVWEYNW2XIG3D34Y7V54ACSSJPQ2AREOO7NGPMLDQCDependencies
- [2]
VBMXB443Retrying if the HTTP connection drops while reading the body - [3]
IQ4FCHPZHTTP connections: pooling + retry on error - [*]
FBXYP7QMForgot to add remote::http
Change contents
- replacement in pijul/src/remote/http.rs at line 31
'outer: loop {loop { - replacement in pijul/src/remote/http.rs at line 48
loop {let done = loop { - replacement in pijul/src/remote/http.rs at line 54
Ok(None) => break 'outer,Ok(None) => break true, - replacement in pijul/src/remote/http.rs at line 59
break;break false; - edit in pijul/src/remote/http.rs at line 62
};if done {std::fs::rename(&path_, &path_.with_extension("change"))?;break; - edit in pijul/src/remote/http.rs at line 67
std::fs::rename(&path_, &path_.with_extension("change"))?;