[dev] "range in overlapped buffers" in range filter

Igor Sysoev is at rambler-co.ru
Wed Dec 12 20:12:34 MSK 2007


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.


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list