attempt to fix #732

This commit is contained in:
Unbit
2014-10-03 08:26:21 +02:00
parent 7e25452242
commit e836272c07
4 changed files with 100 additions and 23 deletions
+2
View File
@@ -299,6 +299,8 @@ int uwsgi_python_send_body(struct wsgi_request *, PyObject *);
int uwsgi_request_python_raw(struct wsgi_request *);
void uwsgi_python_set_thread_name(int);
#define py_current_wsgi_req() current_wsgi_req();\
if (!wsgi_req) {\
return PyErr_Format(PyExc_SystemError, "you can call uwsgi api function only from the main callable");\