From 1da3b53c22c0e6602cbdf6a95f17f1df9d76f01e Mon Sep 17 00:00:00 2001 From: Jer Miller Date: Fri, 31 Jul 2026 14:27:42 -0600 Subject: [PATCH] adopt the spl revision with bounded TLS handshakes The direct dial previously bounded only reaching the peer, so a peer that accepted the connection and never spoke TLS could hold the dial for the whole caller budget. The observers own 5-second LAN bound already covered that here; this makes the library itself bounded for every stage. --- Cargo.lock | 4 ++-- crates/solstone-linux/Cargo.toml | 4 ++-- crates/solstone-linux/src/toolchain_policy_tests.rs | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c6cd625..7f25cb8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2721,7 +2721,7 @@ dependencies = [ [[package]] name = "spl-core" version = "0.1.0" -source = "git+https://github.com/solpbc/spl-rust?rev=742bc9dc789c5a75658844849a04d75033aeb6e3#742bc9dc789c5a75658844849a04d75033aeb6e3" +source = "git+https://github.com/solpbc/spl-rust?rev=e86c6d0fa0518fcde1fdc1d0e6b9c1ba090a9dbe#e86c6d0fa0518fcde1fdc1d0e6b9c1ba090a9dbe" dependencies = [ "base64", "hkdf", @@ -2734,7 +2734,7 @@ dependencies = [ [[package]] name = "spl-transport" version = "0.1.0" -source = "git+https://github.com/solpbc/spl-rust?rev=742bc9dc789c5a75658844849a04d75033aeb6e3#742bc9dc789c5a75658844849a04d75033aeb6e3" +source = "git+https://github.com/solpbc/spl-rust?rev=e86c6d0fa0518fcde1fdc1d0e6b9c1ba090a9dbe#e86c6d0fa0518fcde1fdc1d0e6b9c1ba090a9dbe" dependencies = [ "base64", "futures-util", diff --git a/crates/solstone-linux/Cargo.toml b/crates/solstone-linux/Cargo.toml index 242e4f3..e8548dd 100644 --- a/crates/solstone-linux/Cargo.toml +++ b/crates/solstone-linux/Cargo.toml @@ -24,8 +24,8 @@ libpulse-binding = "2.30.1" chrono = "0.4" rustix = { version = "1", features = ["event", "fs", "process", "time"] } reqwest = { version = "0.12", default-features = false, features = ["cookies", "json", "multipart", "stream"] } -spl-core = { version = "0.1.0", git = "https://github.com/solpbc/spl-rust", rev = "742bc9dc789c5a75658844849a04d75033aeb6e3" } -spl-transport = { version = "0.1.0", git = "https://github.com/solpbc/spl-rust", rev = "742bc9dc789c5a75658844849a04d75033aeb6e3" } +spl-core = { version = "0.1.0", git = "https://github.com/solpbc/spl-rust", rev = "e86c6d0fa0518fcde1fdc1d0e6b9c1ba090a9dbe" } +spl-transport = { version = "0.1.0", git = "https://github.com/solpbc/spl-rust", rev = "e86c6d0fa0518fcde1fdc1d0e6b9c1ba090a9dbe" } tokio = { workspace = true, features = ["signal", "sync"] } tokio-util = { version = "0.7", features = ["io", "rt"] } ashpd = { version = "=0.13.12", features = ["screencast"] } diff --git a/crates/solstone-linux/src/toolchain_policy_tests.rs b/crates/solstone-linux/src/toolchain_policy_tests.rs index 4730a8e..ea33faf 100644 --- a/crates/solstone-linux/src/toolchain_policy_tests.rs +++ b/crates/solstone-linux/src/toolchain_policy_tests.rs @@ -738,7 +738,7 @@ fn dependency_policy_pins_the_single_spl_git_source() { ); assert_eq!( dependency["rev"].as_str(), - Some("742bc9dc789c5a75658844849a04d75033aeb6e3") + Some("e86c6d0fa0518fcde1fdc1d0e6b9c1ba090a9dbe") ); } for (name, dependency) in manifest["dependencies"].as_table().unwrap() { @@ -769,7 +769,7 @@ fn app_reqwest_edge_has_no_direct_tls_feature() { for name in ["spl-core", "spl-transport"] { assert_eq!( manifest["dependencies"][name]["rev"].as_str(), - Some("742bc9dc789c5a75658844849a04d75033aeb6e3") + Some("e86c6d0fa0518fcde1fdc1d0e6b9c1ba090a9dbe") ); } } -- 2.51.2