mirror of
https://github.com/SagerNet/sing-tun.git
synced 2025-04-03 03:47:39 +03:00
Fix system stack not passing context to handler
This commit is contained in:
parent
8507bb3a0a
commit
20226b91c9
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ func (s *System) acceptLoop(listener net.Listener) {
|
|||
}
|
||||
}
|
||||
go func() {
|
||||
s.handler.NewConnection(context.Background(), conn, M.Metadata{
|
||||
s.handler.NewConnection(s.ctx, conn, M.Metadata{
|
||||
Source: M.SocksaddrFromNetIP(session.Source),
|
||||
Destination: destination,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue