mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-10-11 05:26:14 -08:00
fix ring buffer stuck when using multi thread runtime
This commit is contained in:
1 parent
3f9a1d8f2e
commit
7b4a01e7fb
9 files changed
+119
-150
No files matched your search
@@ -598,6 +598,7 @@ impl NicCtx {
|
||||
}
|
||||
Self::do_forward_nic_to_peers_ipv4(ret.unwrap(), mgr.as_ref()).await;
|
||||
}
|
||||
panic!("nic stream closed");
|
||||
});
|
||||
|
||||
Ok(())
|
||||
@@ -618,6 +619,7 @@ impl NicCtx {
|
||||
tracing::error!(?ret, "do_forward_tunnel_to_nic sink error");
|
||||
}
|
||||
}
|
||||
panic!("peer packet receiver closed");
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user