[Yum-devel] [UG] HTTPSHandler of keepalive.py does not seem to use M2Crypto

Einguste einguste at livedoor.com
Sun Dec 21 05:46:48 UTC 2008


Hello.
Nice to meet you.

Because there is the point that I use urlgrabber and noticed, I report it.
HTTPSHandler of keepalive.py does not seem to use M2Crypto.

I tried a revision in it as follows.
Is there a problem?

--- keepalive.py.old	Sun Dec 21 14:02:32 2008
+++ keepalive.py	Sun Dec 21 14:03:35 2008
@@ -350,7 +350,7 @@
         return self.do_open(req)

     def _get_connection(self, host):
-        try: return self._ssl_factory.get_https_connection(host)
+        try: return self._ssl_factory.create_https_connection(host, HTTPResponse)
         except AttributeError: return HTTPSConnection(host)

 class HTTPResponse(httplib.HTTPResponse):


===========================================================================
Because this English is machine translation, there may be funny expression.

Regards




More information about the Yum-devel mailing list