[dev] "range in overlapped buffers" in range filter
Igor Sysoev
is at rambler-co.ru
Wed Dec 12 20:44:20 MSK 2007
On Wed, Dec 12, 2007 at 06:32:41PM +0100, Manlio Perillo wrote:
> Igor Sysoev ha scritto:
> >On Wed, Dec 12, 2007 at 06:00:30PM +0100, Manlio Perillo wrote:
> >
> >>I'm testing range support with a WSGI application that reads a file in
> >>chunk, writing each chunk to the client.
> >>http://hg.mperillo.ath.cx/nginx/mod_wsgi/file/tip/examples/nginx-file.py
> >>
> >>I get this error:
> >>range in overlapped buffers
> >>
> >>
> >>
> >>Does this means that range filter only works if the application uses one
> >>nginx buffer?
> >
> >Yes, now nginx supports ranges for single buf responses only.
> >It may be file or memory buf, but it must be single buf with b->last_buf
> >set.
> >
>
> Ok, thanks.
>
> By the way, do you plan to add support to If-Range?
It's already supported in 0.6.17.
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list