altarch-user / rpms / httpd

Forked from rpms/httpd 2 years ago
Clone

Blame SOURCES/httpd-2.4.6-r1775832.patch

cce4bc
--- a/modules/filters/mod_ext_filter.c 2016/12/23 12:35:43 1775831
cce4bc
+++ b/modules/filters/mod_ext_filter.c 2016/12/23 12:36:26 1775832
cce4bc
@@ -757,6 +757,13 @@
cce4bc
             break;
cce4bc
         }
cce4bc
 
cce4bc
+        if (AP_BUCKET_IS_ERROR(b)) {
cce4bc
+            apr_bucket *cpy;
cce4bc
+            apr_bucket_copy(b, &cpy);
cce4bc
+            APR_BRIGADE_INSERT_TAIL(bb_tmp, cpy);
cce4bc
+            break;
cce4bc
+        }
cce4bc
+
cce4bc
         rv = apr_bucket_read(b, &data, &len, APR_BLOCK_READ);
cce4bc
         if (rv != APR_SUCCESS) {
cce4bc
             ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r, APLOGNO(01463) "apr_bucket_read()");