]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: haload: support HTTP status code by version master
authorFrederic Lecaille <flecaille@haproxy.com>
Fri, 31 Jul 2026 09:58:58 +0000 (11:58 +0200)
committerFrederic Lecaille <flecaille@haproxy.com>
Fri, 31 Jul 2026 10:06:12 +0000 (12:06 +0200)
commit646153dbcd1417eb8c52909c5b4376563cca767a
tree4aa48d14fdac84aa68c0080e1a24d75551de1ca0
parent54344a45c0285e1c33a9c6de2277b65d54ef91a7
MINOR: haload: support HTTP status code by version

Add support for tracking and displaying HTTP status code distribution
broken down by HTTP version (h0, h1, h2, h3) via the new -hsv option.
Building upon -hs, -hsv retains the global status code distribution and
appends additional columns detailed by HTTP version.

Each URL configuration (struct hld_url_cfg) stores its targeted HTTP version in
->http_ver. Thread statistics track status code counts per HTTP
version in thrs_info.vtot_sc[][], which are then aggregated and displayed
alongside global status codes in hld_summary().

Also remove deprecated --show-status-codes, which is a too long long option,
in favor of -hs / -hsv.
doc/haload.txt
include/haproxy/haload.h
src/haload.c
src/haload_init.c