On Thu, May 14, 2009 at 05:35:31PM -0400, Sean Millichamp wrote:
> Patch 2/4
>
> This forces resetting of unset configuration directives to defaults.
>
> The default values for global configuration directives are set once
> early on in the start up. If a configuration file specifies a global
> configuration option and then, at a later time, that option is removed
> from the configuration file, the global variable will neither get set
> nor reset during the configuration reload. This results in the old
> setting persisting, instead of the expect and documented "default" value
> in the absence of the configuration directive.
>
> This patch puts all the defaults into a function (set_defaults) which
> is called once at startup and once at every configuration reload. All
> global configuration defaults should be set in this function when added
> or changed.
This looks good to me.
As it depends on the failurcount change, so I will wait until
discussions about that are finalaised before applying.
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
|