Open Dweller opened 2 years ago
Join the question.
up while( !finish_process && FCGI_Accept() >= 0 ) { <-- first time FCGI_Accept() return 0. a = FCGI_Accept(); msDebug("==FCGI_Accept on start== %d\n", a); <-- first time FCGI_Accept() return -1.
maybe you need to clear the request somehow?
I've a nginx server which is passing requests via /var/run/fcgiwrap.socket
When I hit the nginx server with my request it works once then FCGI-Accept ruturns -1 and that means the process is respawning every time I make a request.
Is there a way to have tohave fcgiwrap honour the Accept for the next call?