[mythtv-commits] Ticket #5909: UPNP Sends 416 invalid response for satisfiable ranges.

MythTV mythtv at cvs.mythtv.org
Sat Nov 15 16:28:30 UTC 2008


#5909: UPNP Sends 416 invalid response for satisfiable ranges.
-------------------------------------------------+--------------------------
 Reporter:  Nathan Babb <nathan.babb at gmail.com>  |       Owner:  dblain 
     Type:  defect                               |      Status:  new    
 Priority:  major                                |   Milestone:  unknown
Component:  upnp                                 |     Version:  unknown
 Severity:  medium                               |     Mlocked:  0      
-------------------------------------------------+--------------------------
 The attached patch will return partial content for ranges that are too
 long.  Currently myth returns 416 for such ranges which causes the PS3
 upnp client to hang when attempting to fast forward.

 According to rfc2616:
 If a syntactically valid byte-range-set includes at least one byte- range-
 spec whose first-byte-pos is less than the current length of the entity-
 body, or at least one suffix-byte-range-spec with a non- zero suffix-
 length, then the byte-range-set is satisfiable. Otherwise, the byte-range-
 set is unsatisfiable. If the byte-range-set is unsatisfiable, the server
 SHOULD return a response with a status of 416 (Requested range not
 satisfiable). Otherwise, the server SHOULD return a response with a status
 of 206 (Partial Content) containing the satisfiable ranges of the entity-
 body.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/5909>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list