From 4a8f0cdfbca4b9408be0f90f1b279d45b430c4a9 Mon Sep 17 00:00:00 2001 From: Graham Leggett Date: Thu, 30 Dec 2010 18:28:26 +0000 Subject: [PATCH] Fix a spin should we encounter a corrupt bucket from the proxy. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1053966 13f79535-47bb-0310-9956-ffa450edef68 --- modules/proxy/proxy_util.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/proxy/proxy_util.c b/modules/proxy/proxy_util.c index 85c52b3f7d..0a2b06df6c 100644 --- a/modules/proxy/proxy_util.c +++ b/modules/proxy/proxy_util.c @@ -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; } } -- 2.40.0