]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] add the "nbsrv" ACL verb
authorWilly Tarreau <w@1wt.eu>
Fri, 30 Nov 2007 19:48:53 +0000 (20:48 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 30 Nov 2007 19:48:53 +0000 (20:48 +0100)
commita9d3c1e6a31b0e6b847409fe82241789221dc101
treebe2e4b8319c5bd09b194d6f22414144ed6a70c01
parentc8f24f8ec15ef0a30cda255809013f99b3c7a96d
[MEDIUM] add the "nbsrv" ACL verb

The new "nbsrv" ACL verb matches the number of active servers in a backend.
By default, it applies to the backend where it is declared, but optionally
it can receive the name of another backend as an argument in parenthesis.

It counts the number of enabled active servers first, then the number of
enabled backup servers.
src/backend.c