Check SOME fastresume data, dont trust it completely.

This commit is contained in:
Igor Katson 2024-08-29 14:23:09 +01:00
parent babe470f9a
commit 9225e126d9
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
5 changed files with 67 additions and 25 deletions

View file

@ -20,7 +20,7 @@ async fn main() -> anyhow::Result<()> {
println!("{}: {s:#?}", r.location);
}
Err(e) => {
tracing::error!(location=%r.location, "error discovering")
tracing::error!(error=?e, location=%r.location, "error discovering")
}
}
drop(stx);
@ -30,6 +30,6 @@ async fn main() -> anyhow::Result<()> {
let f3 = async move { while (srx.recv().await).is_some() {} };
tokio::join!(f1, f2, f3);
tokio::join!(f1, f2, f3).0.unwrap();
Ok(())
}