mirror of
https://github.com/bolucat/Archive.git
synced 2026-04-23 00:17:16 +08:00
Update On Thu Apr 17 20:38:35 CEST 2025
This commit is contained in:
@@ -397,7 +397,7 @@ func (m *Mux) acceptUnderlayLoop(ctx context.Context, properties UnderlayPropert
|
||||
}
|
||||
log.Infof("Mux is listening to endpoint %s %s", network, laddr)
|
||||
|
||||
// Close the rawListener if the master context is cancelled.
|
||||
// Close the rawListener if the master context is canceled.
|
||||
// This can break the forever loop below.
|
||||
go func(ctx context.Context, l *net.TCPListener) {
|
||||
<-ctx.Done()
|
||||
|
||||
Reference in New Issue
Block a user