httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@hyperreal.org
Subject cvs commit: apache-1.3/src/support ab.c
Date Wed, 15 Jul 1998 18:33:13 GMT
marc        98/07/15 11:33:13

  Modified:    src/support ab.c
  Log:
  Use ap_select instead of select in ab, and replace hardcoded 256 with
  FD_SETSIZE.  Should really dynamically track the highest descriptor
  and use that.
  
  PR: 2625
  Submitted by:	Richard Lloyd <rkl@connect.org.uk>, Marc Slemko
  
  Revision  Changes    Path
  1.10      +1 -1      apache-1.3/src/support/ab.c
  
  Index: ab.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/support/ab.c,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- ab.c	1998/07/13 11:32:57	1.9
  +++ ab.c	1998/07/15 18:33:12	1.10
  @@ -551,7 +551,7 @@
           /* Timeout of 30 seconds. */
           timeout.tv_sec = 30;
           timeout.tv_usec = 0;
  -        n = select(256, &sel_read, &sel_write, &sel_except, &timeout);
  +        n = ap_select(FD_SETSIZE, &sel_read, &sel_write, &sel_except, &timeout);
           if (!n) {
               printf("\nServer timed out\n\n");
               exit(1);
  
  
  

Mime
View raw message