]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Drop an impossible case; the while() loop already protected us
authorWilliam A. Rowe Jr <wrowe@apache.org>
Mon, 8 Aug 2005 02:57:55 +0000 (02:57 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Mon, 8 Aug 2005 02:57:55 +0000 (02:57 +0000)
  from this situation.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@230735 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy_http.c

index 8568679fbc09c96a84d96757c403983f602a59cb..8d9822dd24197027decf21dd8718a68065b1382d 100644 (file)
@@ -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);