]> git.kaiwu.me - haproxy.git/commit
MINOR: sample: make RQ/RS stats available everywhere
authorWilly Tarreau <w@1wt.eu>
Mon, 20 Apr 2026 16:34:35 +0000 (18:34 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 21 Apr 2026 06:01:07 +0000 (08:01 +0200)
commit6df10d080275f855717f6b8ed275d97a2a7c134b
tree82f64ad59ce96fef571a09e463dda10e8a091ef0
parente51be30f78a62fa53b640f62d4405e3cbabe517e
MINOR: sample: make RQ/RS stats available everywhere

Sample fetch functions working on the request/response stats were marked
as being only compatible with the log phase. This is a mistake because
by definitions, stats can be consulted anywhere from the moment they
start to appear. It's only that they are valid as far as the logs. At the
moment, no sample fetch function depends on RQFIN, and only res.timer.data
depends on RSFIN. But this will be needed to relax certain sample fetch
functions (and will need to be backported along with a few other patches).
src/sample.c