Welcome! Log In Create A New Profile

Advanced

Re: Nginx body filter

Maxim Dounin
October 25, 2013 01:04PM
Hello!

On Fri, Oct 25, 2013 at 06:54:43AM +0530, Ashwini Venkatesh wrote:

> Hello!
> I wanted to know how is the chain of execution of body filters.
> In my case the header filter of the same filter is executed but not the
> body filter. Does it depend on the execution of previous body filters?

Each body filter calls next filter in chain (till writer filter,
which is special and writes data to a socket).

Most likely reason for "my filter isn't called" problems is
registering a filter in a wrong place. Make sure you do something
like

HTTP_AUX_FILTER_MODULES="$HTTP_AUX_FILTER_MODULES \
ngx_http_test_filter_module"

in your module "config" file. Adding a filter to the HTTP_MODULES
list won't do anything good.

--
Maxim Dounin
http://nginx.org/en/donation.html

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Nginx body filter

Ashwini Venkatesh 874 October 24, 2013 09:26PM

Re: Nginx body filter

Maxim Dounin 383 October 25, 2013 01:04PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 150
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready