Nick Kew wrote:
Michael Spiegle wrote:
Hello,
I have a module I am writing which implements a content-generator and
a filter.  If I make a sub-request from within my content-generator,
the filter's (request_rec*)f->r only points to the original request.
How do I access the current sub-request from within my filter?

How do you know the subrequest exists at the point where you access
it from the filter?

Put whatever you need on your module's filter's context.



I was hoping that when my filter starts receiving data for a subrequest, the request_rec* attached to the filter would indicate that it was a subrequest via f->r->main not being NULL. It seems like you can use that logic everywhere else, so why not in the filter context?

Reply via email to