"range in overlapped buffers" in range filter

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?

Thanks Manlio P.

On Wed, Dec 12, 2007 at 06:00:30PM +0100, Manlio P. wrote:

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 S. ha scritto:

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 P.

On Wed, Dec 12, 2007 at 06:32:41PM +0100, Manlio P. wrote:

By the way, do you plan to add support to If-Range?

It’s already supported in 0.6.17.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs