mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-24 17:41:29 +00:00
Fix trojan-go mux context
Co-authored-by: maskedeken <maskedeken@yahoo.com> Co-authored-by: 世界 <i@sekai.icu>
This commit is contained in:
parent
71218ef0d3
commit
a3ef7a7d88
|
@ -17,7 +17,7 @@ func HandleMuxConnection(ctx context.Context, conn net.Conn, metadata M.Metadata
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
var group task.Group
|
var group task.Group
|
||||||
group.Append0(func(ctx context.Context) error {
|
group.Append0(func(_ context.Context) error {
|
||||||
var stream net.Conn
|
var stream net.Conn
|
||||||
for {
|
for {
|
||||||
stream, err = session.AcceptStream()
|
stream, err = session.AcceptStream()
|
||||||
|
|
Loading…
Reference in a new issue