Page MenuHomePhabricator

Allow HTTPSFuture to stream very large files directly to disk
ClosedPublic

Authored by epriestley on Aug 29 2019, 5:38 PM.
Tags
None
Referenced Files
F18242344: D20745.diff
Thu, Aug 21, 4:07 AM
F18100674: D20745.diff
Sat, Aug 9, 11:59 AM
F18098573: D20745.id49465.diff
Fri, Aug 8, 9:18 PM
F18090423: D20745.id49462.diff
Wed, Aug 6, 3:46 PM
F18087130: D20745.id49462.diff
Wed, Aug 6, 2:32 AM
F17947406: D20745.id.diff
Thu, Jul 31, 4:28 PM
F17931073: D20745.diff
Wed, Jul 30, 6:35 PM
F17659684: D20745.id.diff
Jul 12 2025, 2:43 PM
Subscribers
None

Details

Summary

Ref T13396. Support a mode which directs "HTTPSFuture" to stream response bodies to disk. In this mode, use the new streaming parser to break past the 2GB limit.

Test Plan
  • Ran various HTTP commands to attempt to establish that this does not change any existing behavior.
  • In the next change (internal), modified bin/host download to use this pathway and downloaded large files.

Diff Detail

Repository
rPHU libphutil
Lint
Lint Not Applicable
Unit
Tests Not Applicable