From dc66a8a180c0fa1c2b91cf5413426e68dbca320e Mon Sep 17 00:00:00 2001 From: wwqgtxx Date: Mon, 14 Sep 2026 14:24:43 +0800 Subject: [PATCH] fix: close connection after error handling in handleContextListener --- common/net/listener.go | 1 + 1 file changed, 1 insertion(+) diff --git a/common/net/listener.go b/common/net/listener.go index 4431ccd3..0cf6d3f3 100644 --- a/common/net/listener.go +++ b/common/net/listener.go @@ -32,6 +32,7 @@ func (l *handleContextListener) init() { if l.panicLog != nil { l.panicLog(r) } + _ = c.Close() } }() if conn, err := l.handle(l.ctx, c); err == nil {