httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk-Willem van Gulik <di...@webweaving.org>
Subject Re: [PATCH] module init doesn't seem to be called in mod_so.c
Date Wed, 10 Mar 1999 19:08:58 GMT


"Ralf S. Engelschall" wrote:

> In article <Pine.SOL.3.91.990309163137.805C-100000@godzilla1.acpub.duke.edu> you
wrote:
> > On Tue, 9 Mar 1999, Dean Gaudet wrote:
> >
> >> Sometimes there are functions which we don't use in apache, but which are
> >> useful for third party folks.  In those cases it's better to leave them as
> >> dead code.
> >
> > Absolutely.  There are API_EXPORT functions not called by the
> > distribution, but of course I wouldn't advocate chopping those.
> >
> >> This probably isn't one of those cases.  I'm just trying to forestall a
> >> jihad against "dead code".

>
> > My intent certainly wasn't to create a jihad.  :-)

>
> > ap_single_module_init is, I think, the only chunk of dead code in Apache.
>
> When it makes you more happy, then let us remove it.
> It's at least a clean step to remove it ;-) I've no great objection.

Mount your horses, Ride out to the windmills ! No really these init
functions are really, really usefull when you are trying to do any sort of
persistent connections to backend databases, session handlers, etc. etc.

And given that we carefully check for NULLs and optimize our call
sequences when running through the module's their vector lists.. it
is very, very little cost.. and a lot lost..

I agree, none we have in apache (yet :-). But incredible useful nevertheless.

A Religious Fundamentalist

Dw.



Mime
View raw message