]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Remove showstopper; as trawick commit of 2001/09/11 12:19:09
authorDirk-Willem van Gulik <dirkx@apache.org>
Mon, 24 Sep 2001 18:19:17 +0000 (18:19 +0000)
committerDirk-Willem van Gulik <dirkx@apache.org>
Mon, 24 Sep 2001 18:19:17 +0000 (18:19 +0000)
has cleaned them up.

Added a >1 comparison to not do statistics if there are less
than 2 entries (and hence the standard deviation check would
explode on a divide by zero).

Obtained from:
Submitted by:
Reviewed by:

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

STATUS
src/support/ab.c

diff --git a/STATUS b/STATUS
index c86cd0d2c55e7149de5c1ca9cf5b1065b2a15385..e8d56f179a0ab784dba5cdc88612dc7e2d67ca39 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -1,5 +1,5 @@
 APACHE 1.3 STATUS:                                             -*-text-*-
-  Last modified at [$Date: 2001/09/12 15:16:41 $]
+  Last modified at [$Date: 2001/09/24 18:19:17 $]
 
 Release:
 
@@ -36,9 +36,6 @@ Release:
 
 RELEASE SHOWSTOPPERS:
 
-    ab is broken on many platforms.  Dirk has offered patch, it does not
-    apply cleanly, he has offered to clean this up.
-
     Netware, OS2, MPE and Win32 enabled unique_id's aren't unique.  Wrowe 
     will fix if nobody else does around the 24th, September.
 
index ab8fa8493a45578aac6fc75c4163021d6320eab5..b7f1c7815b12e1fc49ccb992d5f1f1934f098520 100644 (file)
@@ -545,7 +545,7 @@ static void output_results(void)
                   (float) (totalread + totalposted) / timetaken);
        }
     }
-    if (requests) {
+    if (requests>1) {
        /* work out connection times */
        long i;
        double totalcon = 0, total = 0, totald = 0, totalwait = 0;
@@ -1334,14 +1334,14 @@ static void test(void)
 static void copyright(void)
 {
     if (!use_html) {
-       printf("This is ApacheBench, Version %s\n", VERSION " <$Revision: 1.56 $> apache-1.3");
+       printf("This is ApacheBench, Version %s\n", VERSION " <$Revision: 1.57 $> apache-1.3");
        printf("Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/\n");
        printf("Copyright (c) 1998-2001 The Apache Group, http://www.apache.org/\n");
        printf("\n");
     }
     else {
        printf("<p>\n");
-       printf(" This is ApacheBench, Version %s <i>&lt;%s&gt;</i> apache-1.3<br>\n", VERSION, "$Revision: 1.56 $");
+       printf(" This is ApacheBench, Version %s <i>&lt;%s&gt;</i> apache-1.3<br>\n", VERSION, "$Revision: 1.57 $");
        printf(" Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/<br>\n");
        printf(" Copyright (c) 1998-2001 The Apache Group, http://www.apache.org/<br>\n");
        printf("</p>\n<p>\n");