Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

uWSGI: What is the fix for "you have enabled harakiri without post buffering"?

Tags:

uwsgi

What configuration setting in a vassal ini for uWSGI would correct this problem?

*** WARNING: you have enabled harakiri without post buffering. Slow upload could be rejected on post-unbuffered webservers ***

like image 454
101010 Avatar asked Nov 26 '13 04:11

101010


1 Answers

The option is (sorry i know it could look sarcastic but i am not) --post-buffering, but before setting it be sure you have a post-unbuffered webserver as your proxy (like apache). If not you can ignore that message.

If you're using Nginx with either proxy_pass or uwsgi_pass and haven't explicitly set either proxy_request_buffering off or uwsgi_request_buffering off respectively, you can safely ignore this warning, since request buffering is on by default since version 1.7.11. See the documentation for proxy_buffering and uwsgi_request_buffering.

like image 157
roberto Avatar answered Nov 19 '22 11:11

roberto