another fix in python async mode

This commit is contained in:
Unbit
2013-04-25 14:43:40 +02:00
parent bbad505044
commit 6152555f26
+3
View File
@@ -316,6 +316,9 @@ int uwsgi_request_wsgi(struct wsgi_request *wsgi_req) {
int ret = manage_python_response(wsgi_req);
if (ret == UWSGI_OK) goto end;
UWSGI_RELEASE_GIL
if (ret == UWSGI_AGAIN) {
wsgi_req->async_force_again = 1;
}
return ret;
}