Commit e2cf730b authored by Cliff Woolley's avatar Cliff Woolley
Browse files

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
parent f9afdfcf
Loading
Loading
Loading
Loading
+5 −4
Changes for modules/test/mod_bucketeer.c: 5 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -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;
        }