API question: large data processing handler

Julien Zefi jzefip at gmail.com
Sun Jul 7 09:22:56 UTC 2013


Hi,

> >

> > > Haven't looked any further.
> > >
> >
> > thanks for your comments. Taking in count tha changes provided i still
> face
> > this problem:
> >
> > #0  0x00000000004065d6 in ngx_palloc (pool=0x0, size=16) at
> > src/core/ngx_palloc.c:122
> > #1  0x0000000000406a73 in ngx_pcalloc (pool=0x0, size=16) at
> > src/core/ngx_palloc.c:305
> > #2  0x000000000046b76d in ngx_http_chunked_header_filter (r=0x6eebb0)
> >     at src/http/modules/ngx_http_chunked_filter_module.c:82
> > #3  0x000000000046bdc4 in ngx_http_range_header_filter (r=0x6eebb0)
> >     at src/http/modules/ngx_http_range_filter_module.c:160
> >
> > why my pool is always NULL ? do i am missing some initialization
> somewhere ?
>
> Part of the backtrace shown suggests you trigger request activity after
> the request was freed.  Most likely you've forgot r->main->count++.
>
>
thanks, that helped for the next calls.

When i receive a client in HTTP/1.1, my binary data is not being send with
the transfer chunked encoding headers, i refer to the header and footer to
each chunk of content, the HTTP header is set properly, so i would like to
know if i need to do something to enable the chunked header/footer or is
this is automatic ?, also.. whats the most probable thing that could mess
up that feature when developing a plugin ?

thks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20130707/87521393/attachment.html>


More information about the nginx-devel mailing list