check that a setaside routine is defined for the bucket before attempting to call it. Not sure
at all if we even want to keep this routine as it does not allow using filter->ctx for other
purposes.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86365
13f79535-47bb-0310-9956-
ffa450edef68
bb = ap_brigade_create(f->r->pool);
}
- AP_RING_FOREACH(e, &bb->list, ap_bucket, link) {
- e->setaside(e);
+ AP_RING_FOREACH(e, &(*b)->list, ap_bucket, link) {
+ if (e->setaside)
+ e->setaside(e);
}
AP_BRIGADE_CONCAT(bb, *b);
f->ctx = bb;