mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-09-15 21:00:27 +00:00
Update tailscale to v1.102.1
This commit is contained in:
@@ -1178,9 +1178,7 @@ func (c *CommandClient) StartTailscaleSSHSession(opts *TailscaleSSHOptions, hand
|
||||
closeDone: make(chan struct{}),
|
||||
}
|
||||
|
||||
session.wg.Add(1)
|
||||
go func() {
|
||||
defer session.wg.Done()
|
||||
session.wg.Go(func() {
|
||||
for {
|
||||
select {
|
||||
case <-streamCtx.Done():
|
||||
@@ -1208,11 +1206,9 @@ func (c *CommandClient) StartTailscaleSSHSession(opts *TailscaleSSHOptions, hand
|
||||
}
|
||||
}
|
||||
}
|
||||
}()
|
||||
})
|
||||
|
||||
session.wg.Add(1)
|
||||
go func() {
|
||||
defer session.wg.Done()
|
||||
session.wg.Go(func() {
|
||||
for {
|
||||
msg, recvErr := stream.Recv()
|
||||
if recvErr == io.EOF {
|
||||
@@ -1239,7 +1235,7 @@ func (c *CommandClient) StartTailscaleSSHSession(opts *TailscaleSSHOptions, hand
|
||||
handler.OnError(payload.Error.Message)
|
||||
}
|
||||
}
|
||||
}()
|
||||
})
|
||||
|
||||
standalone := c.standalone
|
||||
go func() {
|
||||
|
||||
Reference in New Issue
Block a user