Output filters and body filters
jeppojeps at gmail.com
Mon Aug 20 13:33:06 UTC 2018
Hi Maxim, thanks for you answer. I have the following scenario, I want to
finalize the request for example with NGX_ERROR, let's say in REWRITE
phase, how could I make the request pass through the filters, I was
thinking that something like this would work, but it isn't.
rc = ngx_http_output_filter(r, &out);
Il giorno ven 17 ago 2018 alle ore 01:28 Maxim Dounin <mdounin at mdounin.ru>
> On Thu, Aug 16, 2018 at 12:36:05AM +0200, Antonio Nappa wrote:
> > I have two modules loaded and it looks like when I terminate a request
> > one module by calling ngx_http_output_filter the body filter in the other
> > module does not get called. The module with the body filter is loaded
> > in the config (IMO it shouldn't matter). Do you have any suggestion on
> > I can make the body filter called?
> Make sure you've wrote the config file of your module properly.
> In particular, config file for a typical body filter should look
> . auto/module
> Trying to configure a filter module with ngx_module_type=HTTP
> won't work.
> Maxim Dounin
> nginx-devel mailing list
> nginx-devel at nginx.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx-devel