-
-
Notifications
You must be signed in to change notification settings - Fork 550
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
max_post_data_size #343
Comments
This could happen if the buffer couldn't be allocated. Lwan tries to use temporary files for request bodies above a certain threshold. One to know for sure what's failing for you is running Lwan under "strace -f" and issue a request.
…On Fri, Apr 29, 2022, at 10:09 AM, kiwi wrote:
hello, I encounter some issue for post file.
I am setting `max_post_data_size = 40960000`, and try to POST data as `application/octet-stream`.
While I post a small content ~ 20kb, it work fine.
However, when I try post around 2MB, I get `500 internal server error: The server encountered an internal error that couldn't be recovered from.`
Not sure If I missing something ?
—
Reply to this email directly, view it on GitHub <#343>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAADVGJSDNOJMW4Y5IAY7NTVHQCT3ANCNFSM5UWQYIIA>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hello, I encounter some issue for post file.
I am setting
max_post_data_size = 40960000
, and try to POST data asapplication/octet-stream
.While I post a small content ~ 20kb, it work fine.
However, when I try post around 2MB, I get
500 internal server error: The server encountered an internal error that couldn't be recovered from.
What is the max size for
max_post_data_size
?Not sure If I missing something ?
The text was updated successfully, but these errors were encountered: