mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-10-03 23:48:22 +00:00
fixed buf in python uwsgi.workers()
This commit is contained in:
@@ -162,9 +162,12 @@ PyObject *py_uwsgi_spit(PyObject * self, PyObject * args) {
|
||||
}
|
||||
|
||||
if (up.start_response_nodelay) {
|
||||
UWSGI_RELEASE_GIL
|
||||
if (uwsgi_response_write_headers_do(wsgi_req)) {
|
||||
UWSGI_GET_GIL
|
||||
return PyErr_Format(PyExc_IOError, "unable to directly send headers");
|
||||
}
|
||||
UWSGI_GET_GIL
|
||||
}
|
||||
|
||||
Py_INCREF(up.wsgi_writeout);
|
||||
|
||||
Reference in New Issue
Block a user