diff --git a/plugins/coroae/coroae.c b/plugins/coroae/coroae.c index 6d250cae..6832aaa4 100644 --- a/plugins/coroae/coroae.c +++ b/plugins/coroae/coroae.c @@ -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++;