[Yum-devel] [urlgrabber] keepalive broken

Florian Festi ffesti at redhat.com
Thu Dec 7 11:26:06 UTC 2006


Hi!

Looks like the "SSL patch to use M2Crypto when available" breaks 
keepalive. Problem is that fresh instances are inserted in to the 
handlers list. This lets CachedOpenerDirector() fail to find a matching 
opener. The attached patch fixes this problem by caching HTTPSHandlers 
by ca_cert, ssl_context.

I also added calls to the __init__() methods of urllib2 super classes of 
HTTPHandler and HTTPSHandler.

Florian Festi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: urlgrabber-keepalive.diff
Type: text/x-patch
Size: 2219 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20061207/27e289e2/attachment.bin 


More information about the Yum-devel mailing list