Homec4science

Use AphrontRequestStream to read request input

Authored by epriestley <git@epriestley.com> on Mar 16 2016, 18:47.

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

Committed
epriestley <git@epriestley.com>Mar 17 2016, 16:08
Pushed
aubortJan 31 2017, 17:16
Parents
rPH51153a580cd6: Implement "git-lfs-authenticate" over SSH
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH2b02024e2329: Use AphrontRequestStream to read request input (authored by epriestley <git@epriestley.com>).Mar 17 2016, 16:08