]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] acl: add fe_conn, be_conn, queue, avg_queue
authorWilly Tarreau <w@1wt.eu>
Sat, 10 Oct 2009 10:02:45 +0000 (12:02 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 10 Oct 2009 10:02:45 +0000 (12:02 +0200)
commita36af91951539ee7b24afd1dee58216979efeaea
tree899662126b637c411b702c3f37b4f9ee0ad814e6
parent6b2e11be1ef15da16003a66d7f0fc10d256205e9
[MINOR] acl: add fe_conn, be_conn, queue, avg_queue

These ACLs are used to check the number of active connections on the
frontend, backend or in a backend's queue. The avg_queue returns the
average number of queued connections per server, and for this, divides
the total number of queued connections by the number of alive servers.

The dst_conn ACL has been slightly changed to more reflect its name and
original usage, which is to return the number of connections on the
destination address/port (the socket) and not the whole frontend.
doc/configuration.txt
src/backend.c
src/client.c