BUG/MINOR: stats: fixing stat shows disabled frontend status as 'OPEN'
This patch adresses the issue #1626.
Adding support for PR_FL_PAUSED flag in the function stats_fill_fe_stats().
The command 'show stat' now properly reports a disabled frontend
using "PAUSED" state label.
This patch depends on the following commits:
- 7d00077fd5 "BUG/MEDIUM: proxy: ensure pause_proxy()
and resume_proxy() own PROXY_LOCK".
- 001328873c "MINOR: listener: small API change"
- d46f437de6 "MINOR: proxy/listener: support for additional PAUSED state"
It should be backported to 2.6, 2.5 and 2.4
(cherry picked from commit cddec0aef526f2dc64bad5a83ad788d60c12639c)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 8cbc474b391c90a6efdf2cec27a3d33ab3346fbc)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 6e582c326d17a072b409e6c9581ea9c550ce276e)
[cf: "MINOR: proxy/listener: support for additional PAUSED state" was not
backported. We rely on "px->li_ready" to know if a proxy is open or not.
This was performed this way in 2.4 because PR_FL_* flags don't exist.]
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
1 file changed