fix(tailnet): retry after transport dial timeouts (#22977) (cherry-pick/v2.31) (#22992)

Backport of #22977 to 2.31
This commit is contained in:
Ethan
2026-03-14 05:26:48 +11:00
committed by GitHub
parent 581e956b49
commit 1a774ab7ce
2 changed files with 104 additions and 1 deletions
+1 -1
View File
@@ -1429,7 +1429,7 @@ func (c *Controller) Run(ctx context.Context) {
tailnetClients, err := c.Dialer.Dial(c.ctx, c.ResumeTokenCtrl)
if err != nil {
if xerrors.Is(err, context.Canceled) || xerrors.Is(err, context.DeadlineExceeded) {
if c.ctx.Err() != nil {
return
}