Update tailscale to v1.102.1

This commit is contained in:
世界
2026-08-30 17:41:45 +08:00
parent 9bf39f85f9
commit e797c2d0ba
18 changed files with 282 additions and 210 deletions
+4 -8
View File
@@ -407,11 +407,9 @@ func (r *directionRunner) addConnection(ctx context.Context) error {
r.connMu.Lock()
r.connections = append(r.connections, conn)
r.connMu.Unlock()
r.wg.Add(1)
go func() {
defer r.wg.Done()
r.wg.Go(func() {
conn.run(ctx, r.onConnectionFailed)
}()
})
return nil
}
@@ -437,9 +435,7 @@ func (r *directionRunner) pickReadyConnection() *loadConnection {
}
func (r *directionRunner) startProber(ctx context.Context) {
r.wg.Add(1)
go func() {
defer r.wg.Done()
r.wg.Go(func() {
ticker := time.NewTicker(r.probeInterval())
defer ticker.Stop()
for {
@@ -455,7 +451,7 @@ func (r *directionRunner) startProber(ctx context.Context) {
r.runProbeRound(ctx, conn.client)
ticker.Reset(r.probeInterval())
}
}()
})
}
func (r *directionRunner) runProbeRound(ctx context.Context, selfClient *http.Client) {