httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yla...@apache.org
Subject svn commit: r1707087 - /httpd/httpd/trunk/modules/debugging/mod_bucketeer.c
Date Tue, 06 Oct 2015 16:30:53 GMT
Author: ylavic
Date: Tue Oct  6 16:30:53 2015
New Revision: 1707087

URL: http://svn.apache.org/viewvc?rev=1707087&view=rev
Log:
mod_bucketeer: cleanup properly on EOS and write.

Modified:
    httpd/httpd/trunk/modules/debugging/mod_bucketeer.c

Modified: httpd/httpd/trunk/modules/debugging/mod_bucketeer.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/debugging/mod_bucketeer.c?rev=1707087&r1=1707086&r2=1707087&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/debugging/mod_bucketeer.c (original)
+++ httpd/httpd/trunk/modules/debugging/mod_bucketeer.c Tue Oct  6 16:30:53 2015
@@ -95,6 +95,7 @@ static apr_status_t bucketeer_out_filter
             /* Okay, we've seen the EOS.
              * Time to pass it along down the chain.
              */
+            ap_remove_output_filter(f);
             return ap_pass_brigade(f->next, ctx->bb);
         }
 
@@ -145,6 +146,7 @@ static apr_status_t bucketeer_out_filter
                         if (rv) {
                             return rv;
                         }
+                        apr_brigade_cleanup(ctx->bb);
                     }
                 }
             }



Mime
View raw message