From: Willy Tarreau Date: Sat, 3 Oct 2009 16:57:08 +0000 (+0200) Subject: [MINOR] report list of supported pollers with -vv X-Git-Tag: v1.4-dev4~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be5b68584e09b7760230a4ba54278af17e0455f3;p=thirdparty%2Fhaproxy.git [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. --- diff --git a/src/haproxy.c b/src/haproxy.c index b5e1dc973d..37d4eea8f5 100644 --- a/src/haproxy.c +++ b/src/haproxy.c @@ -185,6 +185,9 @@ void display_build_opts() "\n maxconn = %d, bufsize = %d, maxrewrite = %d, maxpollevents = %d" "\n\n", DEFAULT_MAXCONN, BUFSIZE, MAXREWRITE, MAX_POLL_EVENTS); + + list_pollers(stdout); + putchar('\n'); } /*