httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r520442 - /httpd/httpd/trunk/modules/experimental/mod_sedfilter.c
Date Tue, 20 Mar 2007 15:48:25 GMT
Author: jim
Date: Tue Mar 20 08:48:23 2007
New Revision: 520442

URL: http://svn.apache.org/viewvc?view=rev&rev=520442
Log:
Even though we don't let our bb grow too large, still
honor flush buckets anyway... Note: maybe now we
should use something a little larger that AP_MIN_BYTES_TO_WRITE??

Modified:
    httpd/httpd/trunk/modules/experimental/mod_sedfilter.c

Modified: httpd/httpd/trunk/modules/experimental/mod_sedfilter.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/experimental/mod_sedfilter.c?view=diff&rev=520442&r1=520441&r2=520442
==============================================================================
--- httpd/httpd/trunk/modules/experimental/mod_sedfilter.c (original)
+++ httpd/httpd/trunk/modules/experimental/mod_sedfilter.c Tue Mar 20 08:48:23 2007
@@ -342,6 +342,14 @@
             APR_BRIGADE_INSERT_TAIL(passbb, b);
             break;
         }
+        else if (APR_BUCKET_IS_FLUSH(b)) {
+            APR_BUCKET_REMOVE(b);
+            APR_BRIGADE_INSERT_TAIL(passbb, b);
+            rv = ap_pass_brigade(f->next, passbb);
+            apr_brigade_cleanup(passbb);
+            if (rv != APR_SUCCESS)
+                return rv;
+        }
         else if (APR_BUCKET_IS_METADATA(b)) {
             APR_BUCKET_REMOVE(b);
             APR_BRIGADE_INSERT_TAIL(passbb, b);



Mime
View raw message