From 78e4b844c251c5169e7bc2fca62980f191ceb926 Mon Sep 17 00:00:00 2001 From: wwqgtxx Date: Sun, 5 Apr 2026 17:05:30 +0800 Subject: [PATCH] chore: remove unused code in h2ConnWrapper --- transport/gun/server.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/transport/gun/server.go b/transport/gun/server.go index 4f27891f7..4c5280f7d 100644 --- a/transport/gun/server.go +++ b/transport/gun/server.go @@ -112,11 +112,6 @@ func (w *h2ConnWrapper) CloseWrapper() { w.closed = true } -func (w *h2ConnWrapper) Close() error { - w.CloseWrapper() - return w.ExtendedConn.Close() -} - func (w *h2ConnWrapper) Upstream() any { return w.ExtendedConn }