[fpc-pascal] fpweb fcgi: auto shutdown feature
Michael Van Canneyt
michael at freepascal.org
Sat May 29 10:36:51 CEST 2010
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 option can be set from the config file, just like the way I implemented it in ExtPascal. Thank you. :)
The FCL FastCGI class does not have a config file.
If you want that, you must implement that yourself.
It is one of the flaws of ExtPascal's implementation: everything is tied
together, using fixed formats for config files. When it would be far better
to provide properties which can be set/unset at will: A modular design,
allowing to re-use the components in setups that the implementor didn't
think of.
Michael.
More information about the fpc-pascal
mailing list