Override max_content_length for handling large uploads

85 views
Skip to first unread message

pbeng...@mozilla.com

unread,
Sep 5, 2017, 4:54:22 PM9/5/17
to meinheld
I'm using meinheld with great success through Gunicorn. Something like this:

 gunicorn tecken.wsgi:application -b 0.0.0.0:8000 --workers 4 --worker-class="egg:meinheld#gunicorn_worker"

The problem is that when I try to upload a really large file. I.e. 250MB or 1.5GB. Then meinheld rejects the connection and responds with a 413.

How can I configure meinheld to be OK with large files? Especially through Gunicorn.
Reply all
Reply to author
Forward
0 new messages