You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(mux): close a pooled connection to a removed backend once it is idle #1760
Since #1743, a pooled backend connection whose backend left the configuration is no longer reused, but it stays open: an H1 keep-alive or idle H2 connection to a removed backend is kept until the frontend session ends. The removed backend keeps an open connection and its active_connections never reaches zero, so it never moves from Closing to Closed.
Expected: once such a connection carries no stream, the proxy closes it.
Also to document: a reload that changes a backend's weight, sticky_id or backup is applied as RemoveBackend then AddBackend (ConfigState::diff), so sessions open a new connection to that backend instead of reusing the pooled one.
Activity
fix(mux): close a pooled connection to a removed backend once it is idle
fix(mux): close a pooled connection to a removed backend once it is idle
fix(mux): close a pooled connection to a removed backend once it is i…