[fpc-pascal] fpweb fcgi: auto shutdown feature
bee.ography at gmail.com
Sun May 30 09:20:43 CEST 2010
On 28 Mei 2010, at 23:18, Michael Van Canneyt wrote:
> I'll have a look at it next week. But it will be under control of an option, and this option will be 'off' by default.
Another thought about this feature. I think it'd be nice if there's an option to shutdown the app gracefully. What I mean by gracefully is when the app get a shutdown request, and the option is 'on', then the app doesn't suddently terminate itself but it waits until all currently active sessions got closed and also doesn't accept new sessions. This condition (waiting for termination) status can be read by the app through a read-only flag so the app can raise an alert to end users announcing that the app is about to close so the users are asked to immediately finish their job and quit (logout). So, the app doesn't need to wait forever.
What do you think, Michael?
More information about the fpc-pascal