From 420964760046ff1942f73389b5cbe9363b2572ca Mon Sep 17 00:00:00 2001 From: Ryan Bloom Date: Fri, 23 Nov 2001 19:28:04 +0000 Subject: [PATCH] Fix a bug in the core_output_filter. If we are buffering, it helps to read from the correct bucket. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92146 13f79535-47bb-0310-9956-ffa450edef68 --- server/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/core.c b/server/core.c index e690fcbd27..dcdeeff7e5 100644 --- a/server/core.c +++ b/server/core.c @@ -3087,7 +3087,7 @@ static apr_status_t core_output_filter(ap_filter_t *f, apr_bucket_brigade *b) temp = APR_BRIGADE_FIRST(b); while (temp != e) { apr_bucket *d; - rv = apr_bucket_read(e, &str, &n, APR_BLOCK_READ); + rv = apr_bucket_read(temp, &str, &n, APR_BLOCK_READ); apr_brigade_write(temp_brig, NULL, NULL, str, n); d = temp; temp = APR_BUCKET_NEXT(temp); -- 2.50.1