]> git.kaiwu.me - haproxy.git/commit
MINOR: haload: move statistics header printing to mtask_cb
authorFrederic Lecaille <flecaille@haproxy.com>
Wed, 8 Jul 2026 15:14:54 +0000 (17:14 +0200)
committerFrederic Lecaille <flecaille@haproxy.com>
Wed, 8 Jul 2026 15:35:34 +0000 (17:35 +0200)
commit0792e211e32dfe21b465b611be68c5f174d32ebb
tree2e96d7f8123a4d542301dfae41bbb15e03a94790
parent1d6138909e95d15f38c838123c4a354e5f8e8e1b
MINOR: haload: move statistics header printing to mtask_cb

Move the header printing logic from hld_init to mtask_cb using a static flag.
This ensures the header is displayed only when the main task starts
processing, avoiding issues where the header might be printed before other
haproxy initialization messages or unexpected early exits.
src/haload.c