Page MenuHomePhabricator

Use AphrontRequestStream to read request input
ClosedPublic

Authored by epriestley on Mar 16 2016, 6:06 PM.
Tags
None
Referenced Files
F18818160: D15484.id.diff
Tue, Oct 21, 9:37 PM
F18779338: D15484.id37331.diff
Sat, Oct 11, 1:29 PM
F18658381: D15484.diff
Tue, Sep 23, 6:09 AM
F18599019: D15484.id37331.diff
Sep 13 2025, 6:28 AM
F18596841: D15484.id.diff
Sep 13 2025, 1:37 AM
F18589875: D15484.id.diff
Sep 12 2025, 4:33 AM
F18585942: D15484.id37331.diff
Sep 11 2025, 4:56 PM
F18515570: D15484.id37317.diff
Sep 5 2025, 11:21 AM
Subscribers
None

Details

Summary

Ref T10604. This uses the new standalone stream reader introduced in D15483 to read request data, instead of putting the logic in PhabricatorStartup.

It also doesn't read request data until it specifically needs to. This supports, e.g., streaming Git LFS PUT requests, and streaming more types of requests in the future.

Test Plan

See D15483. Made various different types of requests and wasn't immediately able to break anything.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Use AphrontRequestStream to read request input.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Mar 16 2016, 6:07 PM
This revision was automatically updated to reflect the committed changes.