Page MenuHomePhabricator

Prepare file responses for streaming chunks
ClosedPublic

Authored by epriestley on Mar 13 2015, 8:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 11, 7:43 AM
Unknown Object (File)
Mon, Apr 8, 7:37 AM
Unknown Object (File)
Wed, Apr 3, 11:30 PM
Unknown Object (File)
Tue, Mar 26, 4:57 PM
Unknown Object (File)
Mar 13 2024, 9:09 AM
Unknown Object (File)
Feb 21 2024, 8:57 PM
Unknown Object (File)
Feb 13 2024, 7:36 AM
Unknown Object (File)
Feb 5 2024, 9:25 PM

Details

Summary

Ref T7149. This still buffers the whole file, but is reaaaaal close to not doing that.

Allow Responses to be streamed, and rewrite the range stuff in the FileResponse so it does not rely on having the entire content available.

Test Plan
  • Artificially slowed down downloads, suspended/resumed them (works in chrome, not so much in Safari/Firefox?)
  • Played sounds in Safari/Chrome.
  • Viewed a bunch of pages and files in every browser.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Prepare file responses for streaming chunks.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Mar 13 2015, 10:35 PM
This revision was automatically updated to reflect the committed changes.