Skip to content

Commit 5aec8a7

Browse files
committed
app-server: keep Unix socket listener on transient errors
1 parent 98b87f2 commit 5aec8a7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

codex-rs/app-server/src/transport/unix_socket.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ async fn run_control_socket_acceptor(
6363
err.kind(),
6464
ErrorKind::ConnectionAborted | ErrorKind::ConnectionReset | ErrorKind::Interrupted
6565
) {
66-
return;
66+
warn!("recoverable control socket accept error: {err}");
67+
continue;
6768
}
6869
error!("control socket accept error: {err}");
6970
tokio::time::sleep(Duration::from_secs(1)).await;

0 commit comments

Comments
 (0)