dirkx       99/09/29 14:14:49

  Modified:    src/support ab.c
  Log:
  Patch supplied by [EMAIL PROTECTED] to make head+keepalives work
  
  Revision  Changes    Path
  1.33      +2 -1      apache-1.3/src/support/ab.c
  
  Index: ab.c
  ===================================================================
  RCS file: /x3/home/cvs/apache-1.3/src/support/ab.c,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- ab.c      1999/09/28 12:34:57     1.32
  +++ ab.c      1999/09/29 21:14:47     1.33
  @@ -703,7 +703,8 @@
        totalbread += r;
       }
   
  -    if (c->keepalive && (c->bread >= c->length)) {
  +    /* cater for the case where we're using keepalives and doing HEAD 
requests */
  +    if (c->keepalive && ((c->bread >= c->length) || (posting < 0))) {
        /* finished a keep-alive connection */
        good++;
        doneka++;
  
  
  

Reply via email to