need to find a way to better manage write errors...

This commit is contained in:
Roberto De Ioris
2013-01-20 10:32:02 +01:00
parent e1316153be
commit 37e153d5de
14 changed files with 35 additions and 127 deletions
-5
View File
@@ -242,11 +242,6 @@ clear:
Py_DECREF((PyObject *)wsgi_req->async_sendfile);
}
// send the headers if not already sent
if (!wsgi_req->headers_sent && wsgi_req->headers_hvec > 0) {
uwsgi_python_do_send_headers(wsgi_req);
}
if (wsgi_req->async_placeholder) {
// CALL close() ALWAYS if we are working with an iterator !!!
if (PyObject_HasAttrString((PyObject *)wsgi_req->async_result, "close")) {