disable WSGI2 flag by default

This commit is contained in:
roberto@sirius
2010-07-21 11:02:18 +02:00
parent 6c5e25dbfe
commit 2fedb175b4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
View File
@@ -18,7 +18,7 @@ MINTERPRETERS=True
ASYNC=True
UGREEN=True
EVDIS=True
WSGI2=True
WSGI2=False
ROUTING=False
STACKLESS=False
#PLUGINS = ['psgi']