[proxy] Add no-blocking mapping updates (#6369)

This commit is contained in:
Pascal Fischer
2026-06-09 13:57:17 +02:00
committed by GitHub
parent ed7a9363aa
commit 13200265d8
7 changed files with 607 additions and 59 deletions

View File

@@ -666,8 +666,10 @@ func (s *ProxyServiceServer) sender(conn *proxyConnection, errChan chan<- error)
case resp := <-conn.sendChan:
if err := conn.sendResponse(resp); err != nil {
errChan <- err
log.WithContext(conn.ctx).Tracef("Failed to send response to proxy %s: %v", conn.proxyID, err)
return
}
log.WithContext(conn.ctx).Tracef("Send response to proxy %s", conn.proxyID)
case <-conn.ctx.Done():
return
}