mirror of
https://github.com/SagerNet/sing-mux.git
synced 2025-04-03 03:47:40 +03:00
Fix server context
This commit is contained in:
parent
9b0d527c3b
commit
f6a6b7258c
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ func HandleConnection(ctx context.Context, handler ServerHandler, logger logger.
|
|||
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.Accept()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue