From 2fedb175b4d079affdb28cc42d6a8daeadf188b0 Mon Sep 17 00:00:00 2001 From: "roberto@sirius" Date: Wed, 21 Jul 2010 11:02:18 +0200 Subject: [PATCH] disable WSGI2 flag by default --- pyutils.c | 2 +- uwsgiconfig.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyutils.c b/pyutils.c index 9292cd3c..de3b75e6 100644 --- a/pyutils.c +++ b/pyutils.c @@ -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 diff --git a/uwsgiconfig.py b/uwsgiconfig.py index a39cf9b0..6d0fd740 100644 --- a/uwsgiconfig.py +++ b/uwsgiconfig.py @@ -18,7 +18,7 @@ MINTERPRETERS=True ASYNC=True UGREEN=True EVDIS=True -WSGI2=True +WSGI2=False ROUTING=False STACKLESS=False #PLUGINS = ['psgi']