Check SOME fastresume data, dont trust it completely.
This commit is contained in:
parent
babe470f9a
commit
9225e126d9
5 changed files with 67 additions and 25 deletions
|
|
@ -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(())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue