mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-05-10 16:05:37 +00:00
feat(credential): enforce signed credential distribution across mixed admin/shared topology (#1972)
This commit is contained in:
@@ -98,7 +98,6 @@ impl PunchConeHoleClient {
|
||||
}
|
||||
}
|
||||
|
||||
#[tracing::instrument(skip(self))]
|
||||
pub(crate) async fn do_hole_punching(
|
||||
&self,
|
||||
dst_peer_id: PeerId,
|
||||
@@ -241,7 +240,7 @@ impl PunchConeHoleClient {
|
||||
}
|
||||
}
|
||||
|
||||
return Ok(None);
|
||||
Ok(None)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -245,7 +245,7 @@ impl UdpHoePunchConnectorData {
|
||||
tracing::info!(?tunnel, "hole punching get tunnel success");
|
||||
|
||||
if let Err(e) = self.peer_mgr.add_client_tunnel(tunnel, false).await {
|
||||
tracing::warn!(?e, "add client tunnel failed");
|
||||
tracing::warn!("add client tunnel failed, err: {}", e);
|
||||
op(true);
|
||||
false
|
||||
} else {
|
||||
@@ -258,7 +258,7 @@ impl UdpHoePunchConnectorData {
|
||||
false
|
||||
}
|
||||
Err(e) => {
|
||||
tracing::info!(?e, "hole punching failed");
|
||||
tracing::info!("hole punching failed, err: {}", e);
|
||||
op(true);
|
||||
false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user