Mailing List Archive

#1758: Open ended range request results in truncated images
#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

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs
Re: #1758: Open ended range request results in truncated images [ In reply to ]
#1758: Open ended range request results in truncated images
-----------------------------+--------------------
Reporter: jafa | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: build | Version: 4.0.3
Severity: normal | Resolution:
Keywords: range truncated |
-----------------------------+--------------------

Comment (by lkarsten):

This should be fixed in git master. Please try that.

We need to look if this should be ported back to 4.0.

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

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs
Re: #1758: Open ended range request results in truncated images [ In reply to ]
#1758: Open ended range request results in truncated images
-----------------------------+--------------------
Reporter: jafa | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: build | Version: 4.0.3
Severity: normal | Resolution:
Keywords: range truncated |
-----------------------------+--------------------

Comment (by jafa):

Thanks!

Backporting... we can live with the "unset Range" workaround until 4.1 is
released if needed however given that it is a data corruption bug it might
make sense to backport for everyone.

If the decision is made to backport to 4.0.x I am happy to test in a live
environment.

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

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs
Re: #1758: Open ended range request results in truncated images [ In reply to ]
#1758: Open ended range request results in truncated images
-----------------------------+--------------------
Reporter: jafa | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: build | Version: 4.0.3
Severity: normal | Resolution:
Keywords: range truncated |
-----------------------------+--------------------

Comment (by lkarsten):

To sum up: you can't test the fix, but if we backport you can test the new
code.

Keeping this ticket open until we have a chance to look at amount of work
to backport.

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

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs
Re: #1758: Open ended range request results in truncated images [ In reply to ]
#1758: Open ended range request results in truncated images
-----------------------------+---------------------
Reporter: jafa | Owner:
Type: defect | Status: closed
Priority: normal | Milestone:
Component: build | Version: 4.0.3
Severity: normal | Resolution: fixed
Keywords: range truncated |
-----------------------------+---------------------
Changes (by lkarsten):

* status: new => closed
* resolution: => fixed


Comment:

Hi.

This should be fixed in the 4.1.1. No backport necessary.

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

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs