mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-05 21:21:53 +00:00
need to find a way to better manage write errors...
This commit is contained in:
@@ -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")) {
|
||||
|
||||
Reference in New Issue
Block a user