Re: [PEPr] Comment on Authentication::NTLMProxy
| From: | Pierre | Date: | Mon, 26 Jun 2006 20:32:35 +0000 |
| Subject: | Re: [PEPr] Comment on Authentication::NTLMProxy | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-43124@lists.php.net to get a copy of this message | ||
On 26 Jun 2006 20:17:02 -0000
thorsten@rinne.info ("Thorsten Rinne") wrote:
>
> Thorsten Rinne (http://pear.php.net/user/thorstenr) has commented on
> the proposal for Authentication::NTLMProxy.
>
> Comment:
>
> Hi Philippe,
>
> > Name doesn't seem right... HTTP_Proxy_Auth_NTLM ?
>
> ouch... I like the short name NTLMProxy. :-)
>
> > There's another NTLM proposal in PEPr, in draft status, you may
> > want to check with that maintainer.
>
> yes, but I think this is about authentication, the proposed class
> does not authenticate, it's just a proxy.
>
> > Anyway to integrate with HTTP_Request, or HTTP_Client, Net_Socket
> > and
> so
> > on...? (I know there might be a problem with the Keep-Alive...)
>
> I do not think this will work due to Keep-Alive...
> > I think there's a need to split package into HTTP_Proxy with
> > pluggable authentication modules instead (NTLM being one of them.)
>
> This is a nice idea... :-)
Eck! it will add unnecessary bloated things to it. Just keep as nice
and simple as now :)
> > Try to avoid all the sprintf(). Use ' (single quotes) and
> > concatenation instead.
>
> Is there a reason for not using sprintf?
No real reason, I find them more readable but that's a taste problem.
> I use IP, Server and path to have the possibility to set various
> stages like development, testing and production environments.
>
> > Does this work good without PHP being mod_php in Apache?
>
> no, sorry, because of Keep-Alive.
That's new, it did work before. Or am I confused with the
module :) ?
Cheers,
-- Pierre