mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-08 14:41:55 +00:00
disable WSGI2 flag by default
This commit is contained in:
@@ -49,7 +49,7 @@ int manage_python_response(struct uwsgi_server *uwsgi, struct wsgi_request *wsgi
|
||||
// is it a tuple (WSGI2.0) ?
|
||||
if (PyTuple_Check((PyObject *)wsgi_req->async_result)) {
|
||||
if (PyTuple_Size((PyObject *)wsgi_req->async_result) != 3) {
|
||||
uwsgi_log("invalid WSGI2.0 response.\n");
|
||||
uwsgi_log("invalid WSGI2.0 response size: %d.\n", PyTuple_Size((PyObject *)wsgi_req->async_result));
|
||||
goto clear;
|
||||
}
|
||||
#ifdef UWSGI_DEBUG
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ MINTERPRETERS=True
|
||||
ASYNC=True
|
||||
UGREEN=True
|
||||
EVDIS=True
|
||||
WSGI2=True
|
||||
WSGI2=False
|
||||
ROUTING=False
|
||||
STACKLESS=False
|
||||
#PLUGINS = ['psgi']
|
||||
|
||||
Reference in New Issue
Block a user