2013/11/20 Roberto De Ioris <[email protected]> > > Is it possible your view does not read the request body, and closes the > connection before nginx sends it ? From your strace it looks so. > > Just to be sure (before changing your code) add post-buffering = 8192 to > your config. If it solves your issue, you can remove it and fix the code > (or just leave it enabled and forget about it). If you do not plan to use > things like websockets or chunked input there is no problem with it. >
post-buffering = 8192 fixed the thing, thanks! Anyway I can not find the exact problem, I was sure I read the whole request body... Could it be a timing problem? Maybe I wait to much before I read request.FILES["file"]... For sure I read all of it before sending the response Marco
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
