Homestyx hydra
Diffusion hydra 81d88985a027

Prepare file responses for streaming chunks

Description

Prepare file responses for streaming chunks

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.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: joshuaspence, epriestley

Maniphest Tasks: T7149

Differential Revision: https://secure.phabricator.com/D12072

Details

Provenance
epriestleyAuthored on Mar 14 2015, 11:29 AM
sirocylPushed on Oct 16 2024, 5:49 AM
Parents
R1:2aefb438439d: Support a file data iteration interface for large files
Branches
Unknown
Tags
Unknown

Event Timeline