another python headers management optimization

This commit is contained in:
roberto@precise64
2012-05-05 09:00:52 +02:00
parent df0406902e
commit 62b24fcd2a
3 changed files with 38 additions and 20 deletions
+1 -1
View File
@@ -292,7 +292,7 @@ clear:
Py_XDECREF((PyObject *)wsgi_req->async_placeholder);
clear2:
// sent the headers if not already sent
// send the headers if not already sent
if (!wsgi_req->headers_sent && wsgi_req->headers_hvec > 0) {
uwsgi_python_do_send_headers(wsgi_req);
}