Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Streaming large files #57

Open
g105b opened this issue Jul 3, 2019 · 0 comments
Open

Streaming large files #57

g105b opened this issue Jul 3, 2019 · 0 comments
Labels
Milestone

Comments

@g105b
Copy link
Member

g105b commented Jul 3, 2019

Recently in a WebEngine project I've had to work with the uploading of seriously large files.

Allowing POST input larger than a gigabyte seems massively excessive, and has to be done on the php.ini level so can't be controlled per-script.

The solution was to use a PUT request, then fopen("php://input", "r") to deal with the incoming data.

Could this be handled automatically by Input? The FileInput object could expose a getStream method that works under POST and PUT requests, but with PUT the file wouldn't automatically be loaded into memory.

@g105b g105b added the feature label Jul 3, 2019
@g105b g105b added this to the v3 milestone Jul 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant