]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: counters: factor out smp_fetch_sc*_conn_rate
authorWilly Tarreau <w@1wt.eu>
Tue, 23 Jul 2013 13:09:35 +0000 (15:09 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 1 Aug 2013 19:17:13 +0000 (21:17 +0200)
commitc8c65700de05636693cdfbe9fb81f12b1c0b0f84
treead38ff1d35cbe003bb872b5da53c2e28be46c098
parent3b46c5c47d454172fa693cf9dd75dd168dc2cf57
MEDIUM: counters: factor out smp_fetch_sc*_conn_rate

smp_fetch_sc0_conn_rate, smp_fetch_sc1_conn_rate, smp_fetch_sc2_conn_rate,
smp_fetch_src_conn_rate and smp_fetch_conn_rate were merged into a single
function which relies on the fetch name to decide what to return.
src/session.c