From 1942fc2af072051b3205cd5c572898acc934a19f Mon Sep 17 00:00:00 2001 From: CodeMaster4711 Date: Sat, 8 Aug 2026 13:14:58 +0200 Subject: [PATCH] fix: always accept new log vsock client instead of gating on stale connection --- agent/csfx-guest-init/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/csfx-guest-init/src/main.rs b/agent/csfx-guest-init/src/main.rs index 2633a41c..6e45e641 100644 --- a/agent/csfx-guest-init/src/main.rs +++ b/agent/csfx-guest-init/src/main.rs @@ -676,7 +676,7 @@ async fn stream_logs(listener: VsockListener, stdout: AsyncFd, stderr: while stdout_open || stderr_open { tokio::select! { - accept_result = listener.accept(), if client.is_none() => { + accept_result = listener.accept() => { match accept_result { Ok((conn, addr)) => { info!(target: "workload.logstream", peer = ?addr, "log client accepted");