[Fedora-suds-list] Persistent connections - anyone else interested / suggest howto / working on it?

Waldemar Osuch waldemar.osuch at gmail.com
Wed Oct 21 18:00:23 UTC 2009


On Wed, Oct 21, 2009 at 11:45 AM, Jeff Ortel <jortel at redhat.com> wrote:
>
>
> On 10/21/2009 12:20 PM, Waldemar Osuch wrote:
>>
>> On Wed, Oct 21, 2009 at 8:05 AM, Rod Montgomery<monty at starfief.com>
>>  wrote:
>>>


>>
>> At one time I was playing with httplib2 to do just that.
>> I needed it since persistent connections are requirement for NTLM
>> authentication.
>> Since then the requirements have changed and I did not finish it.
>
> I just included a NTLM transport
> https://fedorahosted.org/suds/wiki/Documentation#WindowsNTLM written by
> Christopher Bess that uses python-ntlm which is based on urllib2.  This
> seems to work without persistent connections (or at least it did).  Will
> this still work?  Are there advantages other then persistent connections to
> using httplib2 over urllib2?
>
Your rock :)

>From what I can tell Christopher does reuse the socket for the handshake.
Is it the same as persistent connections?  I am not sure.

The gory details are in:
http://code.google.com/p/python-ntlm/source/browse/trunk/python26/ntlm/HTTPNtlmAuthHandler.py#retry_using_http_NTLM_auth




More information about the fedora-suds-list mailing list