1 --- func-0.27/func/overlord/sslclient.py
2 +++ func-0.27/func/overlord/sslclient.py
6 _host, _port = urllib.splitport(host)
7 - return SSLCommon.HTTPS(_host, int(_port), ssl_context=self.ssl_ctx, timeout=self._timeout)
8 + if hasattr(xmlrpclib.Transport, 'single_request'):
9 + cnx_class = SSLCommon.HTTPSConnection
11 + cnx_class = SSLCommon.HTTPS
12 + return cnx_class(_host, int(_port), ssl_context=self.ssl_ctx, timeout=self._timeout)
15 class SSLXMLRPCServerProxy(xmlrpclib.ServerProxy):