Filter module callback not been called

Lucas Brasilino lucas.brasilino at gmail.com
Thu Mar 1 17:22:27 UTC 2012


Hi!

I gonna write a filter module so I'm starting to do some experiments.
I did a simple handler module that can be seen at [1] and is working fine.

I'm facing a little problem. It should be some detail I can't see right
now. My filter module callback is not been called.

The code is here: http://pastebin.com/wUB5H0A3

I registered the filter to the 'filters chain' at
'ngx_http_static_header_init()'.

ngx_http_static_header_init() is called, but ngx_http_static_header_filter() is
not.

Where is my mistake ? :)

thanks in advance
Lucas Brasilino


[1] https://github.com/lucasbrasilino/ngx_http_simple_example



More information about the nginx-devel mailing list