From 62eef24b7f6b6a5daf0e723cc83dbf6783bc5196 Mon Sep 17 00:00:00 2001 From: Yann Ylavic Date: Tue, 24 Feb 2015 12:14:05 +0000 Subject: [PATCH] ab: Add missing longest request (100%) to CSV export. Submitted by: Marcin Fabrykowski Committed by: ylavic git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1661913 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES | 3 +++ support/ab.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 20d82f068f..5895692533 100644 --- 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 ] + *) ab: Add missing longest request (100%) to CSV export. + [Marcin Fabrykowski ] + *) core: Add expression support to ErrorDocument. Switch from a fixed sized 664 byte array per merge to a hash table. [Graham Leggett] diff --git a/support/ab.c b/support/ab.c index a4599dc30c..68059822ac 100644 --- a/support/ab.c +++ b/support/ab.c @@ -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); -- 2.40.0