> There is no such thing as "server" configuration and the "rest" of the
> configuraton. There is one configuration parameters store. Everybody
> can (and does) use it during the startup. Your Tcl modules, your C-
> modules
> core-server modules etc. pp.

Yes, this is the point. I will have to agree that it only "works" if I assume 
the first call (with the "first default") to be "authoritative" - and this is 
probably crap. 

But it also means that the resulting list in the logs (the excerpt in my mail) 
is just a snapshot of the last Ns_Config* call?

Example (4 calls in 4 different parts during startup in this order):

    nsconf.shutdowntimeout =
        Ns_ConfigIntRange(path, "shutdowntimeout", 20, 0, 40);
    nsconf.shutdowntimeout =
        Ns_ConfigIntRange(path, "shutdowntimeout", 21, 1, 41;
    nsconf.shutdowntimeout =
        Ns_ConfigIntRange(path, "shutdowntimeout", 22, 2, 42);
    nsconf.shutdowntimeout =
        Ns_ConfigIntRange(path, "shutdowntimeout", 23, 3, INT_MAX);

Then the logs show the 23,3,INT_MAX call as result???

> I believe we are still not in consensus :-(

We are. Except for one thing, but I have to leave the office now ;-)

Bernd.

Reply via email to