HomePhorge

Use AphrontRequestStream to read request input

Description

Use AphrontRequestStream to read request input

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.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10604

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

Details

Provenance
epriestleyAuthored on Mar 16 2016, 10:47 AM
themackabuPushed on Tue, Mar 25, 8:07 PM
Parents
rP51153a580cd6: Implement "git-lfs-authenticate" over SSH
Branches
Unknown
Tags
Unknown

Event Timeline