API question: large data processing handler
jzefip at gmail.com
Sun Jul 7 09:22:56 UTC 2013
> > > Haven't looked any further.
> > >
> > thanks for your comments. Taking in count tha changes provided i still
> > 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 ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx-devel