Commit 2fa2d49e authored by William A. Rowe Jr's avatar William A. Rowe Jr
Browse files

  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
parent af31b440
Loading
Loading
Loading
Loading
+0 −7
Changes for modules/proxy/mod_proxy_http.c: 0 added lines, 7 removed lines.
Original line number Diff line number Diff line
@@ -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);