[Varnish] #1758: Open ended range request results in truncated images
Varnish
varnish-bugs at varnish-cache.org
Mon Jul 6 05:48:59 CEST 2015
#1758: Open ended range request results in truncated images
-----------------------------+--------------------
Reporter: jafa | Type: defect
Status: new | Priority: normal
Milestone: | Component: build
Version: 4.0.3 | Severity: normal
Keywords: range truncated |
-----------------------------+--------------------
Symptom: client (Kodi) getting truncated images.
Client (Kodi) sent requests HEAD, HEAD, GET. The GET request include
"Range: bytes=0-".
Varnish responded:
HEAD: "Content-Length: 50726"
HEAD: "Content-Length: 50726"
GET: "Content-Range: bytes 0-14157/14158" and "Content-Length: 14158"
A few minutes later I hit it from a webbrowser (no range request).
Varnish responded with "Content-Length: 50726" and delivered the complete
data.
Full headers in attached files.
Workaround = "unset req.http.Range". This avoids the problem - images are
delivered correctly.
--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1758>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list