From: Christophe Jaillet Date: Sat, 1 Jun 2013 06:03:32 +0000 (+0000) Subject: 3rd patch from PR45355 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c5921fa2c16a383d102da265f7bcdf1759dc077;p=thirdparty%2Fapache%2Fhttpd.git 3rd patch from PR45355 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1488471 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/support/ab.c b/support/ab.c index a9186ca8638..3ed1febb73b 100644 --- a/support/ab.c +++ b/support/ab.c @@ -792,7 +792,8 @@ static void output_results(int sig) if (bad) printf(" (Connect: %d, Receive: %d, Length: %d, Exceptions: %d)\n", err_conn, err_recv, err_length, err_except); - printf("Write errors: %d\n", epipe); + if (epipe) + printf("Write errors: %d\n", epipe); if (err_response) printf("Non-2xx responses: %d\n", err_response); if (keepalive) @@ -965,9 +966,8 @@ static void output_results(int sig) printf(" min avg max\n"); #define CONF_FMT_STRING "%5" APR_TIME_T_FMT " %5" APR_TIME_T_FMT "%5" APR_TIME_T_FMT "\n" printf("Connect: " CONF_FMT_STRING, mincon, meancon, maxcon); - printf("Processing: " CONF_FMT_STRING, mintot - mincon, - meantot - meancon, - maxtot - maxcon); + printf("Processing: " CONF_FMT_STRING, mind, meand, maxd); + printf("Waiting: " CONF_FMT_STRING, minwait, meanwait, maxwait); printf("Total: " CONF_FMT_STRING, mintot, meantot, maxtot); #undef CONF_FMT_STRING }