fix: read back sent copies after the sec 5.6 upstream fix, pinned at 2d65d66

This commit is contained in:
randogoth 2026-09-28 23:49:39 +03:00
parent 52947e153d
commit d6f4c434fa
36 changed files with 4223 additions and 3118 deletions

View file

@ -0,0 +1,17 @@
// Device probe: reproduce the app's DNS failure in isolation. Resolves
// the given host exactly the way fumi-core's connect does — Rust std's
// getaddrinfo — and prints what came back.
use std::net::ToSocketAddrs;
fn main() {
let host = std::env::args().nth(1).unwrap_or_else(|| "example.com".into());
let target = format!("{host}:1961");
match target.to_socket_addrs() {
Ok(addrs) => {
let ips: Vec<String> = addrs.map(|a| a.to_string()).collect();
println!("resolved {host}: {ips:?}");
}
Err(err) => println!("FAILED {host}: {err}"),
}
}