httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minf...@apache.org
Subject svn commit: r1053966 - /httpd/httpd/trunk/modules/proxy/proxy_util.c
Date Thu, 30 Dec 2010 18:28:26 GMT
Author: minfrin
Date: Thu Dec 30 18:28:26 2010
New Revision: 1053966

URL: http://svn.apache.org/viewvc?rev=1053966&view=rev
Log:
Fix a spin should we encounter a corrupt bucket from the proxy.

Modified:
    httpd/httpd/trunk/modules/proxy/proxy_util.c

Modified: httpd/httpd/trunk/modules/proxy/proxy_util.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/proxy_util.c?rev=1053966&r1=1053965&r2=1053966&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/proxy_util.c (original)
+++ httpd/httpd/trunk/modules/proxy/proxy_util.c Thu Dec 30 18:28:26 2010
@@ -2779,9 +2779,10 @@ ap_proxy_buckets_lifetime_transform(requ
             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;
         }
     }



Mime
View raw message