fix: read back sent copies after the sec 5.6 upstream fix, pinned at 2d65d66
This commit is contained in:
parent
52947e153d
commit
d6f4c434fa
36 changed files with 4223 additions and 3118 deletions
17
native/src/bin/dnsprobe.rs
Normal file
17
native/src/bin/dnsprobe.rs
Normal 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}"),
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue