Re: FASTCGI 500 error occurring problem.
"Jay Sprenkle" <[email protected]>
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Oct 29, 2008 at 2:05 AM, Ora Mom <[email protected]> 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. _______________________________________________ FastCGI-developers mailing list FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org http://mailman.pins.net/mailman/listinfo.cgi/fastcgi-developers