From: Frederic Lecaille Date: Thu, 23 Jul 2026 08:31:46 +0000 (+0200) Subject: BUG/MINOR: haload: fix display glitches by flushing stdout in summary X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0667ef102f8cd641ee1def83fddfbecc42edf80c;p=thirdparty%2Fhaproxy.git BUG/MINOR: haload: fix display glitches by flushing stdout in summary Fix a bug in hld_summary() where the output stream was not explicitly flushed after printing the periodic statistics line. This caused text buffering issues and visual overlapping in the terminal output. --- diff --git a/src/haload.c b/src/haload.c index 638acdba8..65cf7967a 100644 --- a/src/haload.c +++ b/src/haload.c @@ -665,6 +665,7 @@ void hld_summary(void) (unsigned long long)(tot_sc[4] - prev_sc[4])); putchar('\n'); + fflush(stdout); prev_totc = tot_conn; prev_totr = tot_req;