Allow --async 1 (i.e. sync mode, but with a different loop engine)

This commit is contained in:
Mike Kaplinskiy
2014-08-17 13:13:17 -04:00
parent f1cdf2890f
commit 1a4f333912
25 changed files with 45 additions and 45 deletions
+1 -1
View File
@@ -164,7 +164,7 @@ int uwsgi_response_subhandler_web3(struct wsgi_request *wsgi_req) {
if (!wsgi_req->async_placeholder) {
goto clear;
}
if (uwsgi.async > 1) {
if (uwsgi.async > 0) {
return UWSGI_AGAIN;
}
}