Re: [fpc-pascal] fpweb fcgi: auto shutdown feature

2010-05-30 Thread Horacio Jamilis
I am new to this technology... I was using isapi, with and isapoloader dll, that was responsible of the upgrade of the application. The isapiloader before sending the request to the actual isapi application, it tried to find if there is a new version of it, with the same name of the dll but wit

Re: [fpc-pascal] fpweb fcgi: auto shutdown feature

2010-05-30 Thread Bee Jay
On 30 Mei 2010, at 19:06, Michael Van Canneyt wrote: > But if you want it, it's really easy to do in fcl-web. Create a webmodule, > implement the OnRequest handler of the module, and add > Application.Terminate:=True; > Handled:=True; > in the handler. Then register the module with the name 'sh

Re: [fpc-pascal] fpweb fcgi: auto shutdown feature

2010-05-30 Thread Michael Van Canneyt
On Sun, 30 May 2010, Bee Jay wrote: 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

Re: [fpc-pascal] fpweb fcgi: auto shutdown feature

2010-05-30 Thread Bee Jay
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 me

Re: [fpc-pascal] fpweb fcgi: auto shutdown feature

2010-05-29 Thread Bee Jay
On 29 Mei 2010, at 16:52, Michael Van Canneyt wrote: > Yes, but he chooses a very restrictive approach. As it is, you must > convince him to change something. With the modular component approach, you > don't need to wait. Why should I have to wait? I got the source code, all of them. If I need s

Re: [fpc-pascal] fpweb fcgi: auto shutdown feature

2010-05-29 Thread Michael Van Canneyt
On Sat, 29 May 2010, Bee Jay wrote: On 29 Mei 2010, at 15:36, Michael Van Canneyt wrote: The FCL FastCGI class does not have a config file. If you want that, you must implement that yourself. Alright then. It is one of the flaws of ExtPascal's implementation: everything is tied together,

Re: [fpc-pascal] fpweb fcgi: auto shutdown feature

2010-05-29 Thread Bee Jay
On 29 Mei 2010, at 15:36, Michael Van Canneyt wrote: > The FCL FastCGI class does not have a config file. > If you want that, you must implement that yourself. Alright then. > It is one of the flaws of ExtPascal's implementation: everything is tied > together, using fixed formats for config file

Re: [fpc-pascal] fpweb fcgi: auto shutdown feature

2010-05-29 Thread Michael Van Canneyt
On Sat, 29 May 2010, Bee Jay wrote: On 28 Mei 2010, at 23:18, Michael Van Canneyt wrote: Unless Joost does it first, 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. Of course. I agree with that. It'd be nicer if the op

Re: [fpc-pascal] fpweb fcgi: auto shutdown feature

2010-05-29 Thread Bee Jay
On 28 Mei 2010, at 23:18, Michael Van Canneyt wrote: > Unless Joost does it first, 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. Of course. I agree with that. It'd be nicer if the option can be set from the config file,

Re: [fpc-pascal] fpweb fcgi: auto shutdown feature

2010-05-28 Thread Michael Van Canneyt
On Fri, 28 May 2010, Bee Jay wrote: Hi all, After a bit studying fpWeb package, especially the FCGI application, I have a feature request to it. Would you (Joost? Michael?) please add auto shutdown (after some idle time) feature to TFCGIApplication? If you had looked at ExtPascal's FCGI im