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

  Fix a buglett in backport 230718; get our selection of brigades correct.

  (tis what happens when our code is this far out-of-sync with trunk, sorry.)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/proxy-reqbody-2.0.x@230720 13f79535-47bb-0310-9956-ffa450edef68
parent b7221e13
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -544,14 +544,14 @@ static apr_status_t stream_reqbody_chunked(apr_pool_t *p,
            AP_DEBUG_ASSERT(APR_BUCKET_IS_EOS(e));
            apr_bucket_delete(e);
        }
        b = input_brigade;
    }

    e = apr_bucket_immortal_create(ASCII_ZERO ASCII_CRLF
                                   /* <trailers> */
                                   ASCII_CRLF,
                                   5, bucket_alloc);
    APR_BRIGADE_INSERT_TAIL(input_brigade, e);
    b = input_brigade;
    APR_BRIGADE_INSERT_TAIL(b, e);
    
    status = pass_brigade(bucket_alloc, r, p_conn, origin, b, 1);
    return status;