From: Cliff Woolley Date: Fri, 31 May 2002 07:43:22 +0000 (+0000) Subject: we should be copying over all metadata buckets we don't understand, not X-Git-Tag: 2.0.37~140 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08bf741328670cc678515e4eb734298d23e611e7;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/modules/test/mod_bucketeer.c b/modules/test/mod_bucketeer.c index 03299f43b76..bb8ddb145ea 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; }