apr_pool_destroy(subpool);
ap_fputs(r->output_filters, bb, "</D:multistatus>" DEBUG_CR);
- ap_filter_flush(bb, r->output_filters);
+
+ /* deliver whatever might be remaining in the brigade */
+ ap_pass_brigade(r->output_filters, bb);
}
/*
/* Finish up the multistatus response. */
ap_fputs(r->output_filters, ctx.bb, "</D:multistatus>" DEBUG_CR);
- ap_filter_flush(ctx.bb, r->output_filters);
+
+ /* deliver whatever might be remaining in the brigade */
+ ap_pass_brigade(r->output_filters, ctx.bb);
/* the response has been sent. */
return DONE;