Page MenuHomePhabricator

Prepare file responses for streaming chunks
ClosedPublic

Authored by epriestley on Mar 13 2015, 8:57 PM.
Tags
None
Referenced Files
F20677975: D12072.diff
Sun, Jun 21, 10:21 PM
Unknown Object (File)
Apr 15 2026, 6:48 PM
Unknown Object (File)
Apr 15 2026, 1:28 PM
Unknown Object (File)
Apr 15 2026, 1:27 PM
Unknown Object (File)
Apr 15 2026, 1:27 PM
Unknown Object (File)
Apr 7 2026, 5:44 PM
Unknown Object (File)
Apr 2 2026, 10:44 PM
Unknown Object (File)
Mar 23 2026, 7:47 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.