[Varnish] #1643: corrupt range response

Varnish varnish-bugs at varnish-cache.org
Mon Dec 22 23:01:28 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 Jay):

 It is a part of a page using the builtin audio/html5-player in multiple
 browsers. Either the browser is doing it directly or it is some sort of
 javascript handling the request.
 The reason behind the range-request is not know. Perhaps if the size of
 the file was larger, the player would have split the file fetching into
 multiple request. The author of the code could have just dropped the
 header if fetching the entire file at once, but is seems to be a valid
 request anyway.


 Per RFC 2616, section 14.35.1 Byte Ranges

 If the last-byte-pos value is absent, or if the value is greater than or
 equal to the current length of the entity-body, last-byte-pos is taken to
 be equal to one less than the current length of the entity- body in bytes.

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



More information about the varnish-bugs mailing list