On 18/04/2015 5:20 PM, "Baptiste" <[email protected]> wrote:
>
> On Fri, Apr 17, 2015 at 2:22 AM, Igor Cicimov
> <[email protected]> wrote:
> >
> > Hi all,
> >
> > In the docs it says:
> >
> > A "defaults" section sets default parameters for all other sections
> > following
> > its declaration. Those default parameters are reset by the next
"defaults"
> > section.
> >
> > So I wonder is the next defaults section resetting _all_ options and
> > parameters from the previous one or just the ones explicitly selected?
For
> > example:
> >
> > defaults
> >     timeout client  60s
> >     timeout server  60s
> >     option http-server-close
> > ...
> > defaults
> >     timeout client  10s
> >
> > Then I would expect to see only the "timeout client" being changed to
10s
> > and for the rest to keep their initial values. If not then we would end
up
> > writing duplicate blocks.
> >
> > Thanks,
> > Igor
> >
>
>
> Hi Igor,
>
> A new defaults section erases all parameters already set.
> Then the new section update its default parameters.
>
> Baptiste

Thanks Baptiste.

Reply via email to