httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grega...@apache.org
Subject cvs commit: httpd-2.0/server core.c
Date Fri, 08 Nov 2002 19:20:04 GMT
gregames    2002/11/08 11:20:04

  Modified:    server   core.c
  Log:
  core_output_filter: straighten out the parens for the decision to set aside.
  
  Pointed out by: gcc and Jeff Trawick
  
  Revision  Changes    Path
  1.221     +3 -3      httpd-2.0/server/core.c
  
  Index: core.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/core.c,v
  retrieving revision 1.220
  retrieving revision 1.221
  diff -u -r1.220 -r1.221
  --- core.c	8 Nov 2002 17:19:10 -0000	1.220
  +++ core.c	8 Nov 2002 19:20:04 -0000	1.221
  @@ -3878,10 +3878,10 @@
            *      (IOW, this response is a bit more complex, but we save it
            *       with the hope of concatenating with another response)
            */
  -        if ((nbytes + flen < AP_MIN_BYTES_TO_WRITE
  -            && !fd && !more && !APR_BUCKET_IS_FLUSH(last_e))
  +        if (nbytes + flen < AP_MIN_BYTES_TO_WRITE
  +            && ((!fd && !more && !APR_BUCKET_IS_FLUSH(last_e))
                   || (APR_BUCKET_IS_EOS(last_e)
  -                    && c->keepalive == AP_CONN_KEEPALIVE)) {
  +                    && c->keepalive == AP_CONN_KEEPALIVE))) {
   
               /* NEVER save an EOS in here.  If we are saving a brigade with
                * an EOS bucket, then we are doing keepalive connections, and
  
  
  

Mime
View raw message