]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] separated nbconn into feconn and beconn
authorWilly Tarreau <w@1wt.eu>
Sun, 17 Dec 2006 21:14:12 +0000 (22:14 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 17 Dec 2006 21:14:12 +0000 (22:14 +0100)
commitf1221aa19ff64d0702df0fa1af0808cfa019e435
tree23254f10418451f8530187e52eea6da6927797a3
parent830ff458deeebb202ef9f73d2b2b4b36ac899b55
[MEDIUM] separated nbconn into feconn and beconn

The nbconn attribute in the proxies was not relevant anymore because
a frontend A may use backend B and both of them must account for their
respective connections. For this reason, there now are two separate
counters for frontend and backend connections.

The stats page has been updated to reflect the backend, but a separate
line entry for the frontend with error counts would be good.

Note that as of now, beconn may be higher than maxconn, because maxconn
applies to the frontend, while beconn may be increased due to sessions
passed from another frontend.
include/types/proxy.h
include/types/session.h
src/client.c
src/haproxy.c
src/log.c
src/proto_http.c
src/proxy.c
src/queue.c