Code commits
phpBB Rhea
-
nicofuma 1a187e0607aeb23dc7f95fec0e3163898c2375f4
Merge pull request #4440 from danchr/ticket/14774
[ticket/14774] Support partial downloads of attachments
* danchr/ticket/14774:
[ticket/14774] Support partial downloads of attachments -
Dan Villiom Podlaski Christiansen <danchr@gmail.com> d2750b650fb3600ef2cf7b7139998e1a71c7d5ef m
[ticket/14774] Support partial downloads of attachments
phpBB already had limited support for partial downloads, but only for
resuming downloads, disregarding any range ending before EOF.
WebKit on iOS and OS X uses partial downloads when fetching media
files. Previously, only MP3 attachments could play directly in the
browser, reported as a live stream, but with this change, all
supported media formats should render as expected.
Tested using cURL by verifying that partial downloads give exactly the
same results compared to Apache.
PHPBB3-14774- phpBB/includes/functions_download.php (version d2750b650fb3600ef2cf7b7139998e1a71c7d5ef)
- tests/download/http_byte_range_test.php (version d2750b650fb3600ef2cf7b7139998e1a71c7d5ef)