From: William A. Rowe Jr Date: Mon, 8 Aug 2005 01:03:09 +0000 (+0000) Subject: Fix a buglett in backport 230718; get our selection of brigades correct. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=afbee3617611a6663f8cbafcae4279c81f7eeabe;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/modules/proxy/proxy_http.c b/modules/proxy/proxy_http.c index 6c2a91f6291..0457cb87a39 100644 --- a/modules/proxy/proxy_http.c +++ b/modules/proxy/proxy_http.c @@ -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 /* */ 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;