improved websockets support

This commit is contained in:
Unbit
2013-02-16 13:13:04 +01:00
parent f4b8f3e49d
commit 0dd2a34e22
11 changed files with 163 additions and 69 deletions
+5
View File
@@ -267,6 +267,11 @@ PyObject *uwsgi_python_setup_thread(char *);
#undef UWSGI_MINTERPRETERS
#endif
#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");\
}
#define uwsgi_pyexit {PyErr_Print();exit(1);}
#ifdef __linux__