From e2cf730bb6149682db911125b80be227e17ea666 Mon Sep 17 00:00:00 2001 From: Cliff Woolley Date: Fri, 31 May 2002 07:43:22 +0000 Subject: [PATCH] we should be copying over all metadata buckets we don't understand, not just error buckets. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95428 13f79535-47bb-0310-9956-ffa450edef68 --- modules/test/mod_bucketeer.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/modules/test/mod_bucketeer.c b/modules/test/mod_bucketeer.c index 03299f43b7..bb8ddb145e 100644 --- a/modules/test/mod_bucketeer.c +++ b/modules/test/mod_bucketeer.c @@ -141,10 +141,11 @@ static apr_status_t bucketeer_out_filter(ap_filter_t *f, continue; } - if (AP_BUCKET_IS_ERROR(e)) { - apr_bucket *err_copy; - apr_bucket_copy(e, &err_copy); - APR_BRIGADE_INSERT_TAIL(ctx->bb, err_copy); + if (e->length == 0) { + /* metadata bucket */ + apr_bucket *cpy; + apr_bucket_copy(e, &cpy); + APR_BRIGADE_INSERT_TAIL(ctx->bb, cpy); continue; } -- 2.50.1