FCGI application how to handle shutdown?

pps <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
Hello,
in a fast_cgi application I want to handle the event when a fcgi process 
unloaded/goes down:

while(FCGI_Accept() >= 0){
	... process requests ...
}
... handle unload


For example I have some cashing in each fcgi app, and when it's unloaded 
I want to be able to serialize accumulated data to preserve it.
So far I couldn't figure out how to go past FCGI_Accept loop, fcgi 
processes seem to be terminated without notifications.

Is it possible to do what I want with fastcgi?

Thanks
___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.