[Varnish] #1643: corrupt range response

Varnish varnish-bugs at varnish-cache.org
Fri Dec 19 00:44:23 CET 2014


#1643: corrupt range response
--------------------------------------+-----------------------
 Reporter:  Jay                       |       Owner:
     Type:  defect                    |      Status:  needinfo
 Priority:  normal                    |   Milestone:  Later
Component:  varnishd                  |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  byte-range request range  |
--------------------------------------+-----------------------

Comment (by fgsch):

 Replying to [comment:4 fgsch]:
 > This should be only an issue on miss.
 > "Range: bytes=0-" is a bit silly.  You could try disable streaming in
 this case:
 > [..]

 Actually thinking back you could remove the range altogether without
 disabling streaming:

 {{{
 if (bereq.http.range ~ "bytes=0-$") {
    unset bereq.http.range;
 }
 }}}

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1643#comment:5>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator



More information about the varnish-bugs mailing list