]> granicus.if.org Git - apache/commitdiff
ab: Add missing longest request (100%) to CSV export.
authorYann Ylavic <ylavic@apache.org>
Tue, 24 Feb 2015 12:14:05 +0000 (12:14 +0000)
committerYann Ylavic <ylavic@apache.org>
Tue, 24 Feb 2015 12:14:05 +0000 (12:14 +0000)
Submitted by: Marcin Fabrykowski <bugzilla fabrykowski.pl>
Committed by: ylavic

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1661913 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
support/ab.c

diff --git a/CHANGES b/CHANGES
index 20d82f068fe155b7b1aa4ef0f56f2fae29372c71..5895692533e13880f97e19714a7a6066f2bcf69c 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -6,6 +6,9 @@ Changes with Apache 2.5.0
      calls r:wsupgrade() can cause a child process crash. 
      [Edward Lu <Chaosed0 gmail.com>]
 
+  *) ab: Add missing longest request (100%) to CSV export.
+     [Marcin Fabrykowski <bugzilla fabrykowski.pl>]
+
   *) core: Add expression support to ErrorDocument. Switch from a fixed
      sized 664 byte array per merge to a hash table. [Graham Leggett]
 
index a4599dc30cc266eb0fe3c2b35dc20c6d16778828..68059822ac20c271546ad957f23d480985e434c6 100644 (file)
@@ -1040,7 +1040,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);