MEDIUM: stats: include disabled proxies that hold active sessions to stats
authorMarno Krahmer <marno.krahmer@new-work.se>
Thu, 24 Jun 2021 14:51:08 +0000 (16:51 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 6 Jul 2021 09:54:08 +0000 (11:54 +0200)
commit07954fb069828e311cef9b2bc54a5b4deed96508
tree6364a980d55f9064678205060b88724d6385303e
parent23048875a4eacf5d7d4450d677cb077e67778b95
MEDIUM: stats: include disabled proxies that hold active sessions to stats

After reloading HAProxy, the old process may still hold active sessions.
Currently there is no way to gather information, how many sessions such
a process still holds. This patch will not exclude disabled proxies from
stats output when they hold at least one active session. This will allow
sending `!@<PID> show stat` through a master socket to the disabled
process and have it returning its stats data.
src/stats.c