Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 25531 invoked from network); 15 Feb 2008 16:04:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Feb 2008 16:04:19 -0000 Received: (qmail 46665 invoked by uid 500); 15 Feb 2008 16:04:10 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 46622 invoked by uid 500); 15 Feb 2008 16:04:10 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 46611 invoked by uid 99); 15 Feb 2008 16:04:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Feb 2008 08:04:10 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [195.232.246.85] (HELO mo2.vodafone.com) (195.232.246.85) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Feb 2008 16:03:36 +0000 Received: from mi1.vodafone.com (mi1.vodafone.com [195.232.246.138]) by mo2.vodafone.com (Switch-3.2.5/Switch-3.2.5) with ESMTP id m1FG3gkt000503 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Fri, 15 Feb 2008 17:03:42 +0100 Received: from avoexs02.internal.vodafone.com ([145.230.4.135]) by mi1.vodafone.com (Switch-3.2.5/Switch-3.2.5) with ESMTP id m1FG3adu019602 for ; Fri, 15 Feb 2008 17:03:41 +0100 Received: from VF-MBX11.internal.vodafone.com ([145.230.5.20]) by avoexs02.internal.vodafone.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 15 Feb 2008 17:03:41 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Re: ping for http in mod_proxy Date: Fri, 15 Feb 2008 17:03:38 +0100 Message-ID: <99EA83DCDE961346AFA9B5EC33FEC08B46497C@VF-MBX11.internal.vodafone.com> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Re: ping for http in mod_proxy Thread-Index: Achv030UK6179hXmTAKxFk2aT2JbLwAAKryQAAVarrwAAIgC0A== References: <99EA83DCDE961346AFA9B5EC33FEC08B46493E@VF-MBX11.internal.vodafone.com> From: =?iso-8859-1?Q?Pl=FCm=2C_R=FCdiger=2C_VF-Group?= To: X-OriginalArrivalTime: 15 Feb 2008 16:03:41.0969 (UTC) FILETIME=[55A1C810:01C86FEC] X-eXpurgate-Category: 1/0 X-eXpurgate-ID: 149371::080215170341-75B77BB0-5E1335E6/0-0/0-0 X-Virus-Checked: Checked by ClamAV on apache.org =20 > -----Urspr=FCngliche Nachricht----- > Von: Akins, Brian=20 > Gesendet: Freitag, 15. Februar 2008 16:44 > An: dev@httpd.apache.org > Betreff: Re: ping for http in mod_proxy >=20 > On 2/15/08 8:13 AM, "Pl=FCm, R=FCdiger, VF-Group"=20 > > wrote: >=20 > =20 > > Any specific reason why we need to add an hook here and why=20 > this cannot be > > done by the existing provider (interface). I am scared of=20 > adding another > > level of indirection here if it is not really needed and=20 > things can be already > > done with the existing infrastructure. >=20 >=20 > I like hooks bcs providers are "one-shot." I use both, but=20 > find my self > using hooks more and more. >=20 > A good example is the discussion around having stacked providers in > mod_cache. If it were a hook, you'd already have that... >=20 > Providers are good when you will have one, and only one,=20 > "thing" that needs > to munge/manipulate/compute like database stuff. With the=20 > proxy stuff, it > looks like we want "n" things to be able to manipulate the=20 > data. Once you > make the leap from 1 to 2, might as well make it a hook. But in the Auth framework we also work with providers and may call more then one provider per request to do authn / authz. So I guess this will be also doable. My main point is that I want to avoid using both hook and provider if not really needed, as it - creates unneeded overhead which lowers performance - makes it harder to extend things with own modules as things are more complex - make debugging harder So as far as possible for solving the problem in a flexible manner I would like to stick to KISS. Regards R=FCdiger