]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Enough votes. commit
authorJim Jagielski <jim@apache.org>
Thu, 2 Aug 2007 13:17:23 +0000 (13:17 +0000)
committerJim Jagielski <jim@apache.org>
Thu, 2 Aug 2007 13:17:23 +0000 (13:17 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@562103 13f79535-47bb-0310-9956-ffa450edef68

STATUS
modules/filters/mod_deflate.c

diff --git a/STATUS b/STATUS
index f3f3f6278cad2527d057fd4a198b27a4681ecd2e..d39c8fadb0531b7075abafc26c972baba941b859 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -77,9 +77,6 @@ RELEASE SHOWSTOPPERS:
 PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
   [ start all new proposals below, under PATCHES PROPOSED. ]
 
-    * mod_deflate: don't try to compress/decompress metadata buckets
-      http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/filters/mod_deflate.c?view=diff&r1=556113&r2=476600
-      +1: gregames, trawick, rpluem
 
 PATCHES PROPOSED TO BACKPORT FROM TRUNK:
 
index 2fd15cba5f21ec8bb1df5be7c26051a36cc19c66..2cbb993da7a0f915c09002460208e99f7e68dcb6 100644 (file)
@@ -578,6 +578,16 @@ static apr_status_t deflate_out_filter(ap_filter_t *f,
             continue;
         }
 
+        if (APR_BUCKET_IS_METADATA(e)) {
+            /*
+             * Remove meta data bucket from old brigade and insert into the
+             * new.
+             */
+            APR_BUCKET_REMOVE(e);
+            APR_BRIGADE_INSERT_TAIL(ctx->bb, e);
+            continue;
+        }
+
         /* read */
         apr_bucket_read(e, &data, &len, APR_BLOCK_READ);
 
@@ -1081,6 +1091,16 @@ static apr_status_t inflate_out_filter(ap_filter_t *f,
             continue;
         }
 
+        if (APR_BUCKET_IS_METADATA(e)) {
+            /*
+             * Remove meta data bucket from old brigade and insert into the
+             * new.
+             */
+            APR_BUCKET_REMOVE(e);
+            APR_BRIGADE_INSERT_TAIL(ctx->bb, e);
+            continue;
+        }
+
         /* read */
         apr_bucket_read(e, &data, &len, APR_BLOCK_READ);