On Jan 15, 2013, at 5:35 AM, Nick Kew wrote:
>
> Thanks. Yes, that was of course the problem.
>
> I guess control of my ordering relative to other modules isn't available?
>
Nick,
FWIW, we write most of our nginx modules as Lua modules now. Sometimes almost
all of the module is actually in
On 8 Jan 2013, at 13:52, Maxim Dounin wrote:
> Filter ordering is determinded during configure - config script of
> your module should place it into appropriate list, usually
> HTTP_AUX_FILTER_MODULES. Your symptoms suggests you've added your
> filter module into HTTP_MODULES list instead.
T
Hello!
On Tue, Jan 08, 2013 at 12:34:43PM +, Nick Kew wrote:
> OK, so my module needs to insert filters.
> I put the usual in a post_config function:
>
>/* Insert headers_out filter */
> ngx_http_next_header_filter = ngx_http_top_header_filter;
> ngx_http_top_header_filter = my_header_
OK, so my module needs to insert filters.
I put the usual in a post_config function:
/* Insert headers_out filter */
ngx_http_next_header_filter = ngx_http_top_header_filter;
ngx_http_top_header_filter = my_header_filter;
/* Insert body_out filter */
ngx_http_next_body_filter = ngx_http_to