[FASTCGI] FASTCGI 500 error occurring problem.
Jay Sprenkle
jsprenkle at gmail.com
Wed Oct 29 08:39:06 EDT 2008
On Wed, Oct 29, 2008 at 2:05 AM, Ora Mom <bigbanage at naver.com> wrote:
>
>
>
> so I modified the quit() to just setting the valuable isProcessing to
> STOP_PROCESSING and in the loop, if the valuable is STOP_PROCESSING then
> break the loop and close. because if current my app is processing something
> then for exit after complete current processing.
>
> That's a very good idea. You just need to make one change.
remove these two lines from the quit function:
freeResources();
exit(0);
It should record that a signal has been caught then when the current request
is
finished it will stop. The signal itself should not cause the program to
exit immediately.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.pins.net/mailman/private.cgi/fastcgi-developers/attachments/20081029/61aa222d/attachment.html>
More information about the FastCGI-developers
mailing list