Handler init management
I have just understood that Handler *Init functions were divided in two categories :
-
functions that can be run at server startup (or reload), that is ** read handler parameters and lemonldap-ng.ini file (let's call it "hard config") ** launch the status process ** and set the server signature,
-
and other functions that must be run when config is changed by manager (let's call the remote config "soft config").
This distinction matches approximately the separation Initialization/LocalInit.pm / Initialization/GlobalInit.pm, but not totally : indeed, defaultValuesInit is defined in GlobalInit but it is run only at startup.
I didn't find any reference to this separation in comments, and I think the term "init" is a bit confusing. Instead, we could say "Init" (functions run at startup) and "Update" (functions run when soft config changes - we could also say "Reload", but it may be confusing with server reload, and "Refresh", but I think it can be understood only by french-speaking people). As same, in Apache config, reload request should be renamed into update request. Don't you think so ?