HomePhabricator

Add a rough "multipart/form-data" stream parser

Description

Add a rough "multipart/form-data" stream parser

Summary:
Depends on D18699. Ref T13008. This only handles the basics (and doesn't stream files to disk yet) but provides a stream-oriented parser for multipart/form-data HTTP requests.

I'm going to integrate this into web workflows next and add coverage / fix bugs as I hit them.

Test Plan: Added basic unit tests, which pass.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13008

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

Details

Provenance
epriestleyAuthored on Oct 10 2017, 6:58 PM
epriestleyPushed on Oct 12 2017, 7:34 PM
Reviewer
amckinley
Differential Revision
D18700: Add a rough "multipart/form-data" stream parser
Parents
rPHU68324a95db7e: Add a rough HTTP header value parser
Branches
Unknown
Tags
Unknown
Tasks
T13008: Process slot exhaustion in Phacility web tier
Build Status
Buildable 18675
Build 25158: Run Core Tests