Update On Mon Dec 2 19:39:24 CET 2024

This commit is contained in:
github-action[bot]
2024-12-02 19:39:25 +01:00
parent c3e68f49c1
commit 1bb062325d
280 changed files with 7754 additions and 5538 deletions
+4 -2
View File
@@ -340,7 +340,8 @@ func (m *Mux) DialContextWithConn(ctx context.Context, conn net.Conn) (net.Conn,
return nil, fmt.Errorf("NewTCPUnderlayWithConn() failed: %v", err)
}
go func() {
err := underlay.RunEventLoop(ctx)
// This is a long running loop, detach from client dial context.
err := underlay.RunEventLoop(context.Background())
if err != nil && !stderror.IsEOF(err) && !stderror.IsClosed(err) {
log.Debugf("%v RunEventLoop(): %v", underlay, err)
}
@@ -639,7 +640,8 @@ func (m *Mux) newUnderlay(ctx context.Context) (Underlay, error) {
UnderlayMaxConn.Store(currEst)
}
go func() {
err := underlay.RunEventLoop(ctx)
// This is a long running loop, detach from client dial context.
err := underlay.RunEventLoop(context.Background())
if err != nil && !stderror.IsEOF(err) && !stderror.IsClosed(err) {
log.Debugf("%v RunEventLoop(): %v", underlay, err)
}