Update SFTP client to get fix for infinite buffering memory leak

This commit is contained in:
Olivier 'reivilibre' 2023-08-11 21:44:14 +01:00
parent 5137ac0640
commit e306acd196
2 changed files with 4 additions and 3 deletions

4
Cargo.lock generated
View File

@ -1839,9 +1839,9 @@ dependencies = [
[[package]] [[package]]
name = "openssh-sftp-client" name = "openssh-sftp-client"
version = "0.13.5" version = "0.13.9"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "866d0eab409a2fcb6b8c3838fdbf10d7399d486548c19179a80f1c1142e93348" checksum = "bff0b8012752f6cdf35c0483c0bd0cc15f4b229284f1f5a7aaf2a66cd7e8fde9"
dependencies = [ dependencies = [
"bytes", "bytes",
"derive_destructure2", "derive_destructure2",

View File

@ -10,7 +10,8 @@ yama_wormfile = { version = "0.1.0", path = "../yama_wormfile" }
ouroboros = "0.15.6" ouroboros = "0.15.6"
openssh = "0.9.9" openssh = "0.9.9"
openssh-sftp-client = "0.13.5" # Need >=0.13.6 which includes a fix for massive memory leak (infinite buffering): https://github.com/openssh-rust/openssh-sftp-client/issues/89
openssh-sftp-client = "0.13.9"
async-trait = "0.1.68" async-trait = "0.1.68"
tokio = { version = "1.27.0", features = ["io-std"] } tokio = { version = "1.27.0", features = ["io-std"] }
tokio-stream = "0.1.14" tokio-stream = "0.1.14"