]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Backport http://svn.apache.org/r1661913
authorGraham Leggett <minfrin@apache.org>
Mon, 2 Mar 2015 19:31:16 +0000 (19:31 +0000)
committerGraham Leggett <minfrin@apache.org>
Mon, 2 Mar 2015 19:31:16 +0000 (19:31 +0000)
ab: Add missing longest request (100%) to CSV export. PR57614.

Submitted by: ylavic
Reviewed by: covener, minfrin

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1663405 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
STATUS
support/ab.c

diff --git a/CHANGES b/CHANGES
index e4560d39da1071bddffed3e397e5f38a8e47929a..95541dab9f17b787b87c94f3121e2a8f0fb18c55 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,9 @@
 
 Changes with Apache 2.4.13
 
+  *) ab: Add missing longest request (100%) to CSV export.
+     [Marcin Fabrykowski <bugzilla fabrykowski.pl>] 
+
   *) mod_macro: Clear macros before initialization to avoid use-after-free
      on startup or restart when the module is linked statically. PR 57525
      [apache.org tech.futurequest.net, Yann Ylavic]
diff --git a/STATUS b/STATUS
index 48cc9ebe6bee90d054fd944c59deb603e7e54cd6..e2b3718a888ba5bd255192bbd5baa7f177aa37a9 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -106,11 +106,6 @@ RELEASE SHOWSTOPPERS:
 PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
   [ start all new proposals below, under PATCHES PROPOSED. ]
 
-  *) ab: Add missing longest request (100%) to CSV export. PR57614.
-     trunk patch: http://svn.apache.org/r1661913
-     2.4.x patch: trunk works (modulo CHANGES)
-     +1: ylavic, covener, minfrin
-
 
 PATCHES PROPOSED TO BACKPORT FROM TRUNK:
   [ New proposals should be added at the end of the list ]
index 03d1229154404146e04235bc1caf21808ada7f2b..7b13d2022217b414dea1b9c6bfcf5c207bf51fde 100644 (file)
@@ -1038,7 +1038,7 @@ static void output_results(int sig)
                 exit(1);
             }
             fprintf(out, "" "Percentage served" "," "Time in ms" "\n");
-            for (i = 0; i < 100; i++) {
+            for (i = 0; i <= 100; i++) {
                 double t;
                 if (i == 0)
                     t = ap_double_ms(stats[0].time);