MEDIUM: proxy: remove the unused PR_STFULL state
authorWilly Tarreau <w@1wt.eu>
Thu, 24 Sep 2020 05:35:46 +0000 (07:35 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 9 Oct 2020 09:27:30 +0000 (11:27 +0200)
commit6b3bf733dd74d029e4c0dac7dd387f3aaaa8ef5f
tree3e14eb09eb96e99aafd3fdb697a09e5ac69e98c1
parentefc0eec4c1c1a6f21efc4c0ead23761700c8acb6
MEDIUM: proxy: remove the unused PR_STFULL state

Since v1.4 or so, it's almost not possible anymore to set this state. The
only exception is by using the CLI to change a frontend's maxconn setting
below its current usage. This case makes no sense, and for other cases it
doesn't make sense either because "full" is a vague concept when only
certain listeners are full and not all. Let's just remove this unused
state and make it clear that it's not reported. The "ready" or "open"
states will continue to be reported without being misleading as they
will be opposed to "stop".
contrib/prometheus-exporter/service-prometheus.c
include/haproxy/proxy-t.h
src/proxy.c
src/stats.c