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".
This commit is contained in:
William Lallemand 2026-02-12 17:49:11 +01:00
parent b90b312a50
commit d13164e105

View file

@ -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",