Home GnuPG

Use AphrontRequestStream to read request input
2b02024e2329Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

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
epriestley <git@epriestley.com>Authored on Mar 16 2016, 6:47 PM
Parents
rPHAB51153a580cd6: Implement "git-lfs-authenticate" over SSH
Branches
Unknown
Tags
Unknown

Event Timeline

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