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

Manlio Perillo manlio_perillo at libero.it
Wed Dec 12 20:32:41 MSK 2007


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?


Manlio Perillo






More information about the nginx mailing list