[PATCH] Improve range support

Federico Schwindt fgsch at lodoss.net
Mon Dec 8 10:34:09 CET 2014

And here's a minimal version without renames or removing Accept-Ranges from
!200 responses.

On Sun, Dec 7, 2014 at 6:19 PM, Federico Schwindt <fgsch at lodoss.net> wrote:

> Hi,
> Someone at the SF summit mentioned this so here's a patch for handling not
> satisfiable ranges (error code 416) and fixing some corner cases.
> I took the liberty of renaming some variables to follow the spec more
> closely.
> I've also changed V1D_Deliver() to only add Accept-Ranges for 200
> responses. I believe this makes more sense and it's what another web server
> does but I'm fine either way.
> Tests updated.
> Comments? OKs?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20141208/0ad1e2ad/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Improve-Range-handling.patch
Type: text/x-patch
Size: 5157 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20141208/0ad1e2ad/attachment.bin>

More information about the varnish-dev mailing list