Flushing the futures pipeline when downloading over HTTP(S)
[?]
Dec 27, 2020, 6:34 PM
WTZXEWY7IAXJAFNV7STCNQY2SNRDPHX3MKOEZ77NEJUN4MS2VYSQCDependencies
- [2]
IQ4FCHPZHTTP connections: pooling + retry on error - [3]
SXEYMYF7Fixing the bad changes in history (unfortunately, by rebooting). - [4]
X6YFD4WVDo not download changes if we already have them - [5]
BZSC7VMYaddress clippy lints - [6]
UDHP4ZVBFixing SSH asynchronicity issues - [7]
WLUID7NADo not block when downloading more than 100 changes over SSH - [*]
FBXYP7QMForgot to add remote::http
Change contents
- replacement in pijul/src/remote/ssh.rs at line 448
path.set_extension("");path.set_extension("tmp"); - replacement in pijul/src/remote/ssh.rs at line 786
path.set_extension("");path.set_extension("tmp"); - edit in pijul/src/remote/http.rs at line 107[2.2118][9.1349]
}for f in 0..POOL_SIZE {if let Some(t) = pool[(cur + f) % POOL_SIZE].take() {let c = t.await??;if send.send(c).await.is_err() {debug!("err for {:?}", c);progress.abandon();break;}}