Fixing network errors
[?]
Mar 10, 2021, 5:01 PM
6FEU6ES7L6M2W77TDTPKGCPCN3NRRHPH73ZN573D5BT2UFRVI7RQCDependencies
- [2]
R4RRU65VRecreate the patch file instead of only truncating it, on failed HTTP downloads - [3]
MU6P2JXGSSH: return with an error if the host key is wrong, rather than denying authentication - [4]
IQ4FCHPZHTTP connections: pooling + retry on error - [5]
VBMXB443Retrying if the HTTP connection drops while reading the body - [6]
SXEYMYF7Fixing the bad changes in history (unfortunately, by rebooting). - [7]
BVVMTOYWProper renaming of changes downloaded over HTTP - [8]
TPEH2XNB1.0.0-alpha.28, with Tokio 1.0 - [9]
UDHP4ZVBFixing SSH asynchronicity issues - [10]
4CEHBW7YTruncate files when restarting a HTTP transfer - [*]
SZWBLWZ4Reading ~/.ssh/config - [*]
FBXYP7QMForgot to add remote::http
Change contents
- edit in pijul/src/remote/ssh.rs at line 79
port: self.config.port, - edit in pijul/src/remote/ssh.rs at line 260
port: u16, - replacement in pijul/src/remote/ssh.rs at line 311
let mut it = self.addr.split(':');let addr = it.next().unwrap();let port = it.next().unwrap_or("22").parse().unwrap();match thrussh_keys::check_known_hosts_path(addr, port, server_public_key, &self.known_hosts){debug!("addr = {:?} port = {:?}", self.addr, self.port);match thrussh_keys::check_known_hosts_path(&self.addr,self.port,server_public_key,&self.known_hosts,) { - replacement in pijul/src/remote/ssh.rs at line 322
match learn(addr, port, server_public_key) {match learn(&self.addr, self.port, server_public_key) { - 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 38
f.set_len(0)?; - edit in pijul/src/remote/http.rs at line 55
f = std::fs::File::create(&path_)?;