mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-18 16:26:38 +00:00
Merge remote-tracking branch 'origin/prototype/reverse-proxy' into prototype/reverse-proxy
This commit is contained in:
@@ -246,6 +246,7 @@ func (s *ProxyServiceServer) SendAccessLog(ctx context.Context, req *proto.SendA
|
|||||||
// Management should call this when reverse proxies are created/updated/removed
|
// Management should call this when reverse proxies are created/updated/removed
|
||||||
func (s *ProxyServiceServer) SendReverseProxyUpdate(update *proto.ProxyMapping) {
|
func (s *ProxyServiceServer) SendReverseProxyUpdate(update *proto.ProxyMapping) {
|
||||||
// Send it to all connected proxies
|
// Send it to all connected proxies
|
||||||
|
log.Debugf("Broadcasting reverse proxy update to all connected proxies")
|
||||||
s.connectedProxies.Range(func(key, value interface{}) bool {
|
s.connectedProxies.Range(func(key, value interface{}) bool {
|
||||||
conn := value.(*proxyConnection)
|
conn := value.(*proxyConnection)
|
||||||
select {
|
select {
|
||||||
|
|||||||
Reference in New Issue
Block a user