httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwool...@apache.org
Subject cvs commit: httpd-2.0/modules/filters mod_deflate.c
Date Thu, 14 Nov 2002 19:22:26 GMT
jwoolley    2002/11/14 11:22:26

  Modified:    .        CHANGES
               modules/filters mod_deflate.c
  Log:
  Fix a memory leak in mod_deflate with dynamic content.  Because the
  brigade was being destroyed (ie, cleanup unregistered) rather than just
  emptied out and then reused anyway, the last call down the filter stack
  would leak buckets.
  
  PR: 14321
  Submitted by:	Ken Franken <kfranken@decisionmark.com>
  Reviewed by:	Jeff Trawick, Cliff Woolley
  
  Revision  Changes    Path
  1.982     +3 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.981
  retrieving revision 1.982
  diff -u -d -u -r1.981 -r1.982
  --- CHANGES	14 Nov 2002 14:17:03 -0000	1.981
  +++ CHANGES	14 Nov 2002 19:22:26 -0000	1.982
  @@ -1,5 +1,8 @@
   Changes with Apache 2.0.44
   
  +  *) Fixed a memory leak in mod_deflate with dynamic content.
  +     PR 14321  [Ken Franken <kfranken@decisionmark.com>]
  +
     *) Add --[enable|disable]-v4-mapped configure option to control
        whether or not Apache expects to handle IPv4 connections
        on IPv6 listening sockets.  Either setting will work on 
  
  
  
  1.26      +1 -1      httpd-2.0/modules/filters/mod_deflate.c
  
  Index: mod_deflate.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/filters/mod_deflate.c,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -d -u -r1.25 -r1.26
  --- mod_deflate.c	10 Nov 2002 06:09:20 -0000	1.25
  +++ mod_deflate.c	14 Nov 2002 19:22:26 -0000	1.26
  @@ -510,7 +510,7 @@
           }
       }
   
  -    apr_brigade_destroy(bb);
  +    apr_brigade_cleanup(bb);
       return APR_SUCCESS;
   }
   
  
  
  

Mime
View raw message