Re: how to break out of FCGX_Accept_r

Igor <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
Hello Andrej,

Friday, November 18, 2005, 12:40:51 PM, you wrote:

AvdZ> In the threat that wakes up after 8 hours, I was thinking to raise a
AvdZ> signal in case 2 only. Though, how can I be sure that we are in case 2? 
AvdZ> Setting flags before entering and after leaving FCGX_Accept_r is not 
AvdZ> sufficient because my treat may wakeup when fast-cgi already accpeted a 
AvdZ> request, but has not come out of FCGX_Accept_r yet.

AvdZ> Any ideas? Any other solutions?


      Hm, it is an interesting question. At first I thought there
      might be a call back function but it seems that three is not.
      Anyway the developers should know better, may be some
      environment variable or signal is checked.

      The obvious solutions which I can suggest is to send FCGI
      servers a specific HTTP shut down request, then you can
      implement method 1 easily. Just tell them to shutdown
      by HTTP.


-- 
www.rol.ru
Best regards,
 Igor                            mailto:[email protected]

___________________________________
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.