]> granicus.if.org Git - apache/commitdiff
Fix a spin should we encounter a corrupt bucket from the proxy.
authorGraham Leggett <minfrin@apache.org>
Thu, 30 Dec 2010 18:28:26 +0000 (18:28 +0000)
committerGraham Leggett <minfrin@apache.org>
Thu, 30 Dec 2010 18:28:26 +0000 (18:28 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1053966 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/proxy_util.c

index 85c52b3f7d585b1ad379380545e751d2aaaa7320..0a2b06df6c58602d17cbb843daa624349c173f01 100644 (file)
@@ -2779,9 +2779,10 @@ ap_proxy_buckets_lifetime_transform(request_rec *r, apr_bucket_brigade *from,
             APR_BRIGADE_INSERT_TAIL(to, new);
         }
         else {
-            ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r,
+            ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r,
                           "proxy: Unhandled bucket type of type %s in"
                           " ap_proxy_buckets_lifetime_transform", e->type->name);
+            apr_bucket_delete(e);
             rv = APR_EGENERAL;
         }
     }