httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Malo ...@perlig.de>
Subject Re: Duplicate directive HeartbeatStorage
Date Fri, 21 Feb 2014 09:00:43 GMT
On Thursday 20 February 2014 16:13:01 Eric Covener wrote:
> On Thu, Feb 20, 2014 at 10:04 AM, André Malo <nd@perlig.de> wrote:
> > Anyone?
> >
> > The doc build tools are confused as well ;-)
> >
> > nd
> >
> > On Sunday 16 February 2014 15:58:18 André Malo wrote:
> >> Hi there,
> >>
> >> We do have one duplicate directive in our tree: HeartbeatStorage
> >> (defined in mod_lbmethod_heartbeat.c and mod_heartmonitor.c)
> >>
> >> I find this confusing. How does it work? Without digging through the
> >> config code: are they even both initialized? What if they were defined
> >> with different syntax specs? Or is it just a mistake?
>
> I do recall it is viable for two modules to use the same directive and
> both get called back when it's specified.  They could have differeng
> TAKE12, RAW_ARGS, etc as long as the actual args were compatible with
> both.


Hmm. Then it's still the question, why would we want that? It looks to me like 
a design error (besides, as said, it's confusing).

I'm not sure, when I'll get around to dig through the code. So, if someone can 
help here, it would be appreciated :-)

nd

Mime
View raw message