httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0/modules/proxy proxy_http.c
Date Wed, 10 Dec 2003 19:26:16 GMT
trawick     2003/12/10 11:26:16

  Modified:    .        CHANGES
               modules/proxy proxy_http.c
  Log:
  Fix memory leak in handling of request bodies during reverse
  proxy operations.
  
  PR:      24991
  Submitted by: Larry Toppi <larry.toppi citrix.com>
  Reviewed by:  Jeff Trawick
  
  Revision  Changes    Path
  1.1338    +3 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.1337
  retrieving revision 1.1338
  diff -u -r1.1337 -r1.1338
  --- CHANGES	10 Dec 2003 16:49:59 -0000	1.1337
  +++ CHANGES	10 Dec 2003 19:26:15 -0000	1.1338
  @@ -2,6 +2,9 @@
   
     [Remove entries to the current 2.0 section below, when backported]
   
  +  *) Fix memory leak in handling of request bodies during reverse
  +     proxy operations.  PR 24991. [Larry Toppi <larry.toppi citrix.com>]
  +
     *) Clean up httpd -V output: Instead of displaying the MPM source
        directory, display the MPM name and some MPM properties.
        [Geoffrey Young <geoff apache.org>]
  
  
  
  1.173     +2 -1      httpd-2.0/modules/proxy/proxy_http.c
  
  Index: proxy_http.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/proxy/proxy_http.c,v
  retrieving revision 1.172
  retrieving revision 1.173
  diff -u -r1.172 -r1.173
  --- proxy_http.c	22 Oct 2003 16:09:58 -0000	1.172
  +++ proxy_http.c	10 Dec 2003 19:26:15 -0000	1.173
  @@ -687,7 +687,8 @@
               }
   
               /* We can't pass this EOS to the output_filters. */
  -            APR_BUCKET_REMOVE(APR_BRIGADE_LAST(input_brigade));
  +            e = APR_BRIGADE_LAST(input_brigade);
  +            apr_bucket_delete(e);
           }
   
           if (send_chunks) {
  
  
  

Mime
View raw message