Fix trojan-go mux context

Co-authored-by: maskedeken <maskedeken@yahoo.com>
Co-authored-by: 世界 <i@sekai.icu>
This commit is contained in:
世界 2023-11-13 13:58:20 +08:00
parent 71218ef0d3
commit a3ef7a7d88
No known key found for this signature in database
GPG key ID: CD109927C34A63C4

View file

@ -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()