[mythtv-commits] Ticket #6189: Erroneous Content-Range in mythweb raw stream
MythTV
mythtv at cvs.mythtv.org
Wed Jan 28 17:50:57 UTC 2009
#6189: Erroneous Content-Range in mythweb raw stream
-----------------------------------------------------+----------------------
Reporter: Tom Dexter <digitalaudiorock at gmail.com> | Owner: xris
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: Plugin - MythWeb | Version: 0.21-fixes
Severity: medium | Mlocked: 0
-----------------------------------------------------+----------------------
When downloading raw streams in mythweb, the Content-Range header being
sent is not quite correct. If I understand RFC2616 (14.16) correctly, the
range is supposed to be the starting and ending byte position (ie the byte
offset). So for example, the first 500 bytes should be 0-499 and not
0-500. Likewise, everything except the first 500 bytes of a 1000 byte
file would be 500-999.
When downloading raw streams from mythweb with wget, which honors the
Content-Range over the Content-Length, it endlessly retries requests to
retrieve a single byte past the end of the file.
I've attached patches for both 0.21-fixes and for trunk, though I've only
tested 0.21-fixes (as that's what I'm running).
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6189>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list