mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-18 18:19:39 -05:00
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:
parent
b90b312a50
commit
d13164e105
1 changed files with 6 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue