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
+2 -2
View File
@@ -725,8 +725,8 @@ impl PeerManager {
let mut processed = false;
let mut zc_packet = Some(ret);
for (idx, pipeline) in pipe_line.read().await.iter().rev().enumerate() {
tracing::trace!(?zc_packet, ?idx, "try_process_packet_from_peer");
tracing::trace!(?zc_packet, "try_process_packet_from_peer");
for pipeline in pipe_line.read().await.iter().rev() {
zc_packet = pipeline
.try_process_packet_from_peer(zc_packet.unwrap())
.await;