filter chain_link problem

agentzh agentzh at gmail.com
Wed Jan 13 06:05:55 MSK 2010


On Wed, Jan 13, 2010 at 10:17 AM, Dennis J. <dennisml at conversis.de> wrote:
>    ngx_buf_t                 *header_buffer;
>    ngx_chain_t               *header_link;
>
>        header_buffer->pos = (u_char *) "<!-- Served by Nginx -->";
>        header_buffer->last = header_buffer->pos + sizeof("<!-- Served by
> Nginx -->") - 1;

I haven't looked hard, but it seems that you didn't allocate the
ngx_buf_t object under the header_buffer pointer?

Cheers,
-agentzh



More information about the nginx mailing list