-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Parsing with StreamingParser fails with file 86kb #8
Labels
bug
Something isn't working
Comments
About the increasing of the size limit? Maybe adding a method to do so? |
There's already a method for that: http-server-form-parser/examples/streaming-form.php Lines 44 to 61 in 657d945
|
Oh ok, so just call $request->getBody(). Thanks guys! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a form which contains an input file. If I put an image of ~86kb it produces many PHP warning of strpos "Offset not contained in string" and fails with error 500, because it throws "Request body ended unexpectedly".
Using MadelineProto too with Amp.
log.txt
The text was updated successfully, but these errors were encountered: