diff --git a/api/proxy/proxy.go b/api/proxy/proxy.go index a499e77639..8a551ae14d 100644 --- a/api/proxy/proxy.go +++ b/api/proxy/proxy.go @@ -288,7 +288,7 @@ func (p *ClientProxy) Start() (retErr error) { return case connsLeft := <-p.connsLeftCh: p.connectionsLeft.Store(connsLeft) - if p.callerConnectionsLeftCh != nil { + if p.callerConnectionsLeftCh != nil && p.sessionAuthzData.ConnectionLimit != -1 { p.callerConnectionsLeftCh <- connsLeft }