On Feb 15, 2008, at 8:13 AM, Plüm, Rüdiger, VF-Group wrote:
-----Ursprüngliche Nachricht-----
Von: Jim Jagielski
Gesendet: Freitag, 15. Februar 2008 14:05
An: dev@httpd.apache.org
Betreff: Re: ping for http in mod_proxy
Well, right now all it does is say "give me the best worker" and
leaves it up to the selected provider on "what that means", so it
queries a provider, not a hook. Of course, we could create an actual
hook which then queries providers, to allow people to extend
the selection even more...
Any specific reason why we need to add an hook here and why this
cannot be
done by the existing provider (interface). I am scared of adding
another
level of indirection here if it is not really needed and things can
be already
done with the existing infrastructure.
No, no reason. In fact, I think the provider interface works
relatively well. I do mention 2 existing hooks which should
be changed (RUN_FIRST to RUN_ALL) which would allow even more
coolness...
I was just thinking that allowing a hook would allow people
to add things without even using providers, which some
people may like. Plus, it seemed an easy accommodation for
people who "wanted" it (I wasn't one).