logo       

Broken FCGI Authorizer Mode in 1.3.0: msg#00082

web.lighttpd

Subject: Broken FCGI Authorizer Mode in 1.3.0

fcgi authorizer mode in 1.3.0 makes lighttpd go into an endless loop, here's the culprit (I think):

In fcgi_connection_cleanup():

if (con->mode != p->id) return;


In fcgi_handle_fdevent

we have:

if (hctx->host->mode == FCGI_AUTHORIZER && con->http_status == 200) {
con->mode = DIRECT;


so now con->mode != p->id


and the connection never gets cleaned up, and chaos ensues.


my fix is adding:

p->id = con->mode;

inside the if statement above.






<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise