fix peer establish direct conn with subnet proxy to one of local interface (#1782)

* fix peer establish direct conn with subnet proxy to one of local interface

* fix peer mgr ref loop
This commit is contained in:
KKRainbow
2026-01-15 01:00:32 +08:00
committed by GitHub
parent f8b34e3c86
commit 53264f67bf
21 changed files with 354 additions and 170 deletions
+1 -1
View File
@@ -538,7 +538,7 @@ impl TcpHolePunchConnector {
.rpc_server()
.registry()
.register(
TcpHolePunchRpcServer::new(self.server.clone()),
TcpHolePunchRpcServer::new_arc(self.server.clone()),
&self.peer_mgr.get_global_ctx().get_network_name(),
);
Ok(())