If I send a POST request and I don't read body (post data) in my app, but
immediately replied, eg:
def application(env, sr):
sr('200 Ok', [('Content-Type', 'text/html')])
return b'hello'
nginx log:
2011/03/11 14:35:52 [error] 6304#0: *60459 readv() failed (104: Connection
reset by peer) while reading upstream, client: 127.0.1.1, server: t3, request:
"POST / HTTP/1.1", upstream: "uwsgi://unix:/tmp/uwsgi-t3.sock:", host: "t3"
If you will read the body, then all is ok.
--
Łukasz Wróblewski
http://www.nri.pl/ - Nowoczesne Rozwiązania Internetowe
http://www.hostowisko.pl/ - Profesjonalny i tani hosting
http://www.katalog-polskich-firm.pl/ - Najlepszy darmowy katalog firm
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi