Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3f025a5

Browse files
committed
Remove tracking on SSH conn
1 parent 6454d15 commit 3f025a5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

agent/agent.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -304,9 +304,7 @@ func (a *agent) createTailnet(ctx context.Context, derpMap *tailcfg.DERPMap) (_
304304
if err != nil {
305305
return
306306
}
307-
_ = a.trackConnGoroutine(func() {
308-
a.sshServer.HandleConn(conn)
309-
})
307+
go a.sshServer.HandleConn(conn)
310308
}
311309
}); err != nil {
312310
return nil, err

0 commit comments

Comments
 (0)