From: William Lallemand Date: Thu, 12 Feb 2026 16:49:11 +0000 (+0100) Subject: MINOR: startup: show the list of detected features at runtime with haproxy -vv X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d13164e1059119bc2ba42bd27d5e5c10cc5e368d;p=thirdparty%2Fhaproxy.git MINOR: startup: show the list of detected features at runtime with haproxy -vv Features prefixed by "HAVE_WORKING_" in the haproxy -vv feature list, are features that are detected during runtime. This patch splits these features on another line in haproxy -vv. This line is named "Detected feature list". --- diff --git a/src/haproxy.c b/src/haproxy.c index c18f1ce5f..bdad75503 100644 --- a/src/haproxy.c +++ b/src/haproxy.c @@ -692,7 +692,12 @@ static void display_build_opts() printf("Build options : %s", build_opts_string); printf("\n\nFeature list :"); for (tmp = feat_list;tmp->ptr;tmp++) - printf(" %.*s", (int)tmp->len, tmp->ptr); + if (!isttest(istist(*tmp, ist("HAVE_WORKING_")))) + printf(" %.*s", (int)tmp->len, tmp->ptr); + printf("\nDetected feature list :"); + for (tmp = feat_list;tmp->ptr;tmp++) + if (isttest(istist(*tmp, ist("HAVE_WORKING_")))) + printf(" %.*s", (int)tmp->len, tmp->ptr); printf("\n\nDefault settings :" "\n bufsize = %d, maxrewrite = %d, maxpollevents = %d" "\n\n",