On Wed, Jan 13, 2010 at 10:17 AM, Dennis J. <dennisml@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
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx