mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-13 08:59:08 +02:00
Address CodeRabbit feedback on VNC server
This commit is contained in:
@@ -257,7 +257,11 @@ func (s *Server) serviceAcceptLoop() {
|
||||
|
||||
enableTCPKeepAlive(conn, s.log)
|
||||
conn = newMetricsConn(conn, s.sessionRecorder)
|
||||
go s.handleServiceConnection(conn, sm)
|
||||
s.trackConn(conn)
|
||||
go func(c net.Conn) {
|
||||
defer s.untrackConn(c)
|
||||
s.handleServiceConnection(c, sm)
|
||||
}(conn)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user