[wpmu-trac] [WordPress MU Trac] #473: Large file downloads fail when chunked encoding is enabled

WordPress MU Trac wpmu-trac at lists.automattic.com
Tue Oct 23 20:29:51 GMT 2007


#473: Large file downloads fail when chunked encoding is enabled
------------------------+---------------------------------------------------
 Reporter:  dsilverman  |       Owner:  somebody
     Type:  defect      |      Status:  new     
 Priority:  normal      |   Milestone:          
Component:  component1  |     Version:          
 Severity:  normal      |    Keywords:          
------------------------+---------------------------------------------------
 Users were reporting that mp3 files would download only the first several
 seconds in the browser rather than the complete file.  I noticed that the
 server was sending the data (via the wp-content/blogs.php file) as chunked
 encoding, but was not passing a content-length header.  After the first
 chunk, the file stopped downloading.  I added a <code>@header( 'Content-
 Length: ' . filesize($file) );</code> into the blogs.php file and the
 problem is solved, although headers now report that chunked encoding is no
 longer enabled.

-- 
Ticket URL: <http://trac.mu.wordpress.org/ticket/473>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser


More information about the wpmu-trac mailing list