1
0
mirror of https://github.com/rancher/steve.git synced 2025-10-20 06:48:47 +00:00
This commit is contained in:
Eric Promislow
2025-04-25 12:05:41 -07:00
committed by GitHub
3 changed files with 5 additions and 3 deletions

View File

@@ -4,6 +4,7 @@ import (
"context"
"crypto/tls"
"crypto/x509"
"fmt"
"net"
"net/http"
"strings"
@@ -72,6 +73,7 @@ func serve(ctx context.Context, dialer websocket.Dialer, url string, headers htt
return err
}
defer conn.Close()
ctx = context.WithValue(ctx, remotedialer.ContextKeyCaller, fmt.Sprintf("steve server: url:%s", url))
go func() {
<-ctx.Done()