mirror of
https://github.com/SagerNet/sing-mux.git
synced 2025-04-05 12:57:40 +03:00
Merge 7992220e1e
into 9053c29513
This commit is contained in:
commit
eb1f8cc9d6
1 changed files with 1 additions and 2 deletions
|
@ -63,9 +63,8 @@ func (s *Service) NewConnection(ctx context.Context, conn net.Conn, metadata M.M
|
|||
}
|
||||
var group task.Group
|
||||
group.Append0(func(_ context.Context) error {
|
||||
var stream net.Conn
|
||||
for {
|
||||
stream, err = session.Accept()
|
||||
stream, err := session.Accept()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue