roadrunner
roadrunner copied to clipboard
[🐛 BUG]: RR cannot parse larger multipart form data
No duplicates 🥲.
- [X] I have searched for a similar issue in our bug tracker and didn't find any solutions.
What happened?
RoadRunner is unable to parse larger multipart form data.
In my case the whole POST body is around 260KB whoch is not really a lot and contains a moderate amount of inputs. RoadRunner throws error 500 with message serve_http: multipart: message too large.
The current workaround is to send JSON instead, but mapping FormData to JSON and back can be prone to errors.
Version (rr --version)
2023.3.9
How to reproduce the issue?
Relevant log output
No response
Hey @FluffyDiscord 👋 Thanks for the report 👍 This issue will be addresses after some HTTP plugin internal updates (move to proto, update multipart algorithm). If that issue is critical for you, you may fork the HTTP plugin and increase this value: link and then build your RR binary with Velox
This has not been solved for me. Maybe the issue is that the content-type is multipart/form-data; boundary=---- ?
Not confirmed as a RR issue. Thread: https://discord.com/channels/538114875570913290/1229393196648366201
I'm having the same issue. When I try to submit a request with multiple array input fields that are over 256KB, I get serve_http: multipart: message too large
It's a bug in Golang I presume. If you are not sending files, use either application/x-www-form-urlencoded in body instead or send json, if you can.
Thanks! That worked.