From 9c1cf7fc7f19e19400c054253d7ddbd7cfd34d2e Mon Sep 17 00:00:00 2001 From: Elim Tsiagbey Date: Fri, 9 Feb 2024 20:38:57 +0000 Subject: [PATCH] backport of commit 91c86d3dc27cb16ba570f479f5d3e8e79ca1c29a --- api/proxy/proxy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }