From be5b68584e09b7760230a4ba54278af17e0455f3 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Sat, 3 Oct 2009 18:57:08 +0200 Subject: [PATCH] [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. --- src/haproxy.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/haproxy.c b/src/haproxy.c index b5e1dc973..37d4eea8f 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'); } /*