Merge pull request #323 from jbert/master

Fix infinite loop in psgi/coroae
This commit is contained in:
unbit
2013-06-19 07:47:52 -07:00
+1 -1
View File
@@ -161,7 +161,7 @@ request:
#endif
for(;;) {
if (uwsgi.p[wsgi_req->uh->modifier1]->request(wsgi_req)) {
if (uwsgi.p[wsgi_req->uh->modifier1]->request(wsgi_req) <= UWSGI_OK) {
goto end;
}
wsgi_req->switches++;