mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-08 06:31:58 +00:00
improved wait_for_threads
This commit is contained in:
@@ -709,7 +709,9 @@ PyObject *py_uwsgi_send(PyObject * self, PyObject * args) {
|
||||
PyObject *data;
|
||||
PyObject *arg1, *arg2;
|
||||
|
||||
int uwsgi_fd = uwsgi.wsgi_req->poll.fd;
|
||||
struct wsgi_request *wsgi_req = current_wsgi_req();
|
||||
|
||||
int uwsgi_fd = wsgi_req->poll.fd;
|
||||
|
||||
if (!PyArg_ParseTuple(args, "O|O:send", &arg1, &arg2)) {
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user