From a3ef7a7d88cf11ef96149fe89c0c57e945becee3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Mon, 13 Nov 2023 13:58:20 +0800 Subject: [PATCH] Fix trojan-go mux context MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: maskedeken Co-authored-by: 世界 --- transport/trojan/mux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transport/trojan/mux.go b/transport/trojan/mux.go index 745cde56..77324000 100644 --- a/transport/trojan/mux.go +++ b/transport/trojan/mux.go @@ -17,7 +17,7 @@ func HandleMuxConnection(ctx context.Context, conn net.Conn, metadata M.Metadata return err } var group task.Group - group.Append0(func(ctx context.Context) error { + group.Append0(func(_ context.Context) error { var stream net.Conn for { stream, err = session.AcceptStream()