httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From di...@apache.org
Subject cvs commit: apache-1.3/src/support ab.c
Date Mon, 24 Sep 2001 18:19:18 GMT
dirkx       01/09/24 11:19:17

  Modified:    .        STATUS
               src/support ab.c
  Log:
  Remove showstopper; as trawick commit of 2001/09/11 12:19:09
  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).
  
  Revision  Changes    Path
  1.955     +1 -4      apache-1.3/STATUS
  
  Index: STATUS
  ===================================================================
  RCS file: /home/cvs/apache-1.3/STATUS,v
  retrieving revision 1.954
  retrieving revision 1.955
  diff -u -r1.954 -r1.955
  --- STATUS	2001/09/12 15:16:41	1.954
  +++ STATUS	2001/09/24 18:19:17	1.955
  @@ -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:
   
  @@ -35,9 +35,6 @@
       2.0  : In alpha development, see httpd-2.0 repository
   
   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.
  
  
  
  1.57      +3 -3      apache-1.3/src/support/ab.c
  
  Index: ab.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/support/ab.c,v
  retrieving revision 1.56
  retrieving revision 1.57
  diff -u -r1.56 -r1.57
  --- ab.c	2001/09/11 12:19:09	1.56
  +++ ab.c	2001/09/24 18:19:17	1.57
  @@ -545,7 +545,7 @@
   		   (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 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");
  
  
  

Mime
View raw message