]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
3rd patch from PR45355
authorChristophe Jaillet <jailletc36@apache.org>
Sat, 1 Jun 2013 06:03:32 +0000 (06:03 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Sat, 1 Jun 2013 06:03:32 +0000 (06:03 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1488471 13f79535-47bb-0310-9956-ffa450edef68

support/ab.c

index a9186ca8638521f1b311f4ca7484bb8e2c0417ab..3ed1febb73b760fc9a83c110f84242c09b4969aa 100644 (file)
@@ -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
         }