Lines 135-140
Link Here
|
135 |
int err; |
135 |
int err; |
136 |
ap_filter_rec_t *filter = f->frec; |
136 |
ap_filter_rec_t *filter = f->frec; |
137 |
|
137 |
|
|
|
138 |
/* We may get called more than once for the same filter |
139 |
* (e.g. in a subrequest), so let's not clobber ourselves |
140 |
*/ |
141 |
if(f->ctx) { |
142 |
return OK; |
143 |
} |
144 |
|
138 |
harness_ctx *fctx = apr_pcalloc(f->r->pool, sizeof(harness_ctx)); |
145 |
harness_ctx *fctx = apr_pcalloc(f->r->pool, sizeof(harness_ctx)); |
139 |
for (p = filter->providers; p; p = p->next) { |
146 |
for (p = filter->providers; p; p = p->next) { |
140 |
if (p->frec->filter_init_func == filter_init) { |
147 |
if (p->frec->filter_init_func == filter_init) { |