mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 14:21:25 +02:00
[MINOR] report list of supported pollers with -vv
During troubleshooting, it's often useful to get the list of supported pollers but until now it was required to have a working configuration first. Since the pollers are known before main() is called, let's list them with the build options.
This commit is contained in:
parent
9757a38feb
commit
be5b68584e
@ -185,6 +185,9 @@ void display_build_opts()
|
|||||||
"\n maxconn = %d, bufsize = %d, maxrewrite = %d, maxpollevents = %d"
|
"\n maxconn = %d, bufsize = %d, maxrewrite = %d, maxpollevents = %d"
|
||||||
"\n\n",
|
"\n\n",
|
||||||
DEFAULT_MAXCONN, BUFSIZE, MAXREWRITE, MAX_POLL_EVENTS);
|
DEFAULT_MAXCONN, BUFSIZE, MAXREWRITE, MAX_POLL_EVENTS);
|
||||||
|
|
||||||
|
list_pollers(stdout);
|
||||||
|
putchar('\n');
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user