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 Wed, 11 Jun 2003 17:46:26 GMT
gregames    2003/06/11 10:46:26

  Modified:    server   core.c
  Log:
  core_output_filter: don't split the brigade after a FLUSH bucket if it's the
  last bucket.  This prevents creating unneccessary empty brigades which may
  not be destroyed until the end of a keepalive connection.
  
  Submitted by:	Juan Rivera <Juan.Rivera@NO_SPAM.citrix.com>
  
  Revision  Changes    Path
  1.238     +3 -1      httpd-2.0/server/core.c
  
  Index: core.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/core.c,v
  retrieving revision 1.237
  retrieving revision 1.238
  diff -u -r1.237 -r1.238
  --- core.c	29 May 2003 23:04:32 -0000	1.237
  +++ core.c	11 Jun 2003 17:46:25 -0000	1.238
  @@ -3861,7 +3861,9 @@
                   break;
               }
               if (APR_BUCKET_IS_FLUSH(e)) {
  -                more = apr_brigade_split(b, APR_BUCKET_NEXT(e));
  +                if (e != APR_BRIGADE_LAST(b)) {
  +                    more = apr_brigade_split(b, APR_BUCKET_NEXT(e));
  +                }
                   break;
               }
   
  
  
  

Mime
View raw message