From 5f86aafc931741761a9ac040639afc6326d5eff5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A3=8E=E6=89=87=E6=BB=91=E7=BF=94=E7=BF=BC?= Date: Sat, 20 Sep 2025 08:07:17 +0000 Subject: [PATCH] ErrReadTimeout --- common/singbridge/pipe.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/singbridge/pipe.go b/common/singbridge/pipe.go index b9dce39f..d6c0f3d8 100644 --- a/common/singbridge/pipe.go +++ b/common/singbridge/pipe.go @@ -51,9 +51,9 @@ func (w *PipeConnWrapper) Read(b []byte) (n int, err error) { case result := <-c: return result.n, result.err case <-time.After(300 * time.Second): - common.Interrupt(w.R) common.Close(w.R) - return 0, io.EOF + common.Interrupt(w.R) + return 0, buf.ErrReadTimeout } }