ASF Bugzilla – Attachment 25350 Details for
Bug 17629
filter handling issues with subrequests and internal redirects
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Prevent filter_init in mod_filter from destroying it's own harness context
mod_filter.subreq.patch (text/plain), 574 bytes, created by
Alex Docauer
on 2010-04-26 00:00:34 UTC
(
hide
)
Description:
Prevent filter_init in mod_filter from destroying it's own harness context
Filename:
MIME Type:
Creator:
Alex Docauer
Created:
2010-04-26 00:00:34 UTC
Size:
574 bytes
patch
obsolete
>--- modules/filters/mod_filter.c 2010-04-25 21:45:29.000154000 -0500 >+++ modules/filters/mod_filter.c 2010-04-25 21:47:14.000089000 -0500 >@@ -135,6 +135,13 @@ > int err; > ap_filter_rec_t *filter = f->frec; > >+ /* We may get called more than once for the same filter >+ * (e.g. in a subrequest), so let's not clobber ourselves >+ */ >+ if(f->ctx) { >+ return OK; >+ } >+ > harness_ctx *fctx = apr_pcalloc(f->r->pool, sizeof(harness_ctx)); > for (p = filter->providers; p; p = p->next) { > if (p->frec->filter_init_func == filter_init) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 17629
: 25350 |
25544