[Varnish] #1643: corrupt range response

Varnish varnish-bugs at varnish-cache.org
Tue Dec 2 11:52:45 CET 2014


#1643: corrupt range response
--------------------------------------+----------------------
 Reporter:  Jay                       |       Type:  defect
   Status:  new                       |   Priority:  normal
Milestone:  Later                     |  Component:  varnishd
  Version:  trunk                     |   Severity:  normal
 Keywords:  byte-range request range  |
--------------------------------------+----------------------
 A client sends a get-request on a 422kbyte audiofile with the following
 header:

 {{{
 Range:bytes=0-
 Accept:*/*
 Accept-Encoding:identity;q=1, *;q=0
 Accept-Language:en-US,en;q=0.8,nb;q=0.6
 Cache-Control:no-cache
 Connection:keep-alive
 Pragma:no-cach
 }}}

 The response from varnish however caps the size of the file to 65536
 bytes:

 {{{
 Accept-Ranges:bytes
 Age:0
 Cache-Control:public,no-cache
 Connection:keep-alive
 Content-Length:65536
 Content-Range:bytes 0-65535/65536
 Content-Type:audio/mpeg
 Date:Tue, 02 Dec 2014 08:27:40 GMT
 ETag:"0297684e1ad01:0"
 Last-Modified:Fri, 28 Nov 2014 08:01:30 GMT
 Server:Microsoft-IIS/8.5
 Via:1.1 varnish-v4
 X-Cache:MISS
 X-Powered-By:ASP.NET
 X-Varnish:82728786
 }}}

 It doesn't happen if I skip using varnish.
 Varnish trunk from 19.11.2014

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



More information about the varnish-bugs mailing list