https://bz.apache.org/bugzilla/show_bug.cgi?id=60375

Eric Covener <cove...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |PatchAvailable

--- Comment #1 from Eric Covener <cove...@gmail.com> ---
I didn't see there was already a patch. The problem is that 2.4 input filter
uses error buckets and mod_ext_filter does not preserve them for output.

I lifted this stanza from mod_request and it makes the test pass for me:

Index: mod_ext_filter.c
===================================================================
--- mod_ext_filter.c    (revision 1775678)
+++ mod_ext_filter.c    (working copy)
@@ -756,6 +756,12 @@
             eos = b;
             break;
         }
+        if (AP_BUCKET_IS_ERROR(b)) {
+            apr_bucket *cpy;
+            apr_bucket_copy(b, &cpy);
+            APR_BRIGADE_INSERT_TAIL(bb_tmp, cpy);
+            break;
+        }

         rv = apr_bucket_read(b, &data, &len, APR_BLOCK_READ);
         if (rv != APR_SUCCESS) {

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org

Reply via email to