From: William A. Rowe Jr Date: Mon, 8 Aug 2005 02:57:55 +0000 (+0000) Subject: Drop an impossible case; the while() loop already protected us X-Git-Tag: 2.1.7~5^2~39 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=2bdf4dd43029d9296120cc2a65649b9f126d2ed0;p=thirdparty%2Fapache%2Fhttpd.git Drop an impossible case; the while() loop already protected us from this situation. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@230735 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/mod_proxy_http.c b/modules/proxy/mod_proxy_http.c index 8568679fbc0..8d9822dd241 100644 --- a/modules/proxy/mod_proxy_http.c +++ b/modules/proxy/mod_proxy_http.c @@ -332,13 +332,6 @@ static apr_status_t stream_reqbody_cl(apr_pool_t *p, if (APR_BUCKET_IS_EOS(APR_BRIGADE_LAST(input_brigade))) { seen_eos = 1; - /* As a shortcut, if this brigade is simply an EOS bucket, - * don't send anything down the filter chain. - */ - if (APR_BUCKET_IS_EOS(APR_BRIGADE_FIRST(input_brigade))) { - break; - } - /* We can't pass this EOS to the output_filters. */ e = APR_BRIGADE_LAST(input_brigade); apr_bucket_delete(e);