]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] listeners: don't change listeners states anymore in maintain_proxies
authorWilly Tarreau <w@1wt.eu>
Mon, 25 Jul 2011 05:37:28 +0000 (07:37 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 25 Jul 2011 05:37:28 +0000 (07:37 +0200)
commitf3f8c70bd6fec32d1077b120d3a934a8659b2029
tree60454762c97bf20b0a7bcc56e358a3add6c540ce
parent2242649b3a56c8a8a4769220e1f131ac4fddfb61
[MEDIUM] listeners: don't change listeners states anymore in maintain_proxies

Now maintain_proxies() only changes proxies states and does not affect their
listeners anymore since they are autonomous. A proxy will switch between the
PR_STIDLE and PR_STRUN states depending whether it's saturated or not. Next
step will consist in renaming PR_STIDLE to PR_STFULL. This state is now only
used to report the proxy state in the stats.
src/proxy.c