1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-21 04:50:55 +01:00
phorge-phorge/src/applications/files/query
epriestley 81d88985a0 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
2015-03-14 08:29:12 -07:00
..
PhabricatorFileBundleLoader.php Viewerize ArcBundle file loading callbacks 2013-09-30 12:21:33 -07:00
PhabricatorFileChunkQuery.php Add support for partially uploaded files 2015-03-13 11:30:24 -07:00
PhabricatorFileQuery.php Support resuming JS uploads of chunked files 2015-03-14 08:28:46 -07:00
PhabricatorFileSearchEngine.php Prepare file responses for streaming chunks 2015-03-14 08:29:12 -07:00
PhabricatorFileTransactionQuery.php Remove @group annotations 2014-07-10 08:12:48 +10:00