Revert change that cached connection factory
parent
88af0317a2
commit
26f524872f
|
@ -128,11 +128,10 @@ class ClientTLSOptionsFactory(object):
|
||||||
|
|
||||||
def __init__(self, config):
|
def __init__(self, config):
|
||||||
# We don't use config options yet
|
# We don't use config options yet
|
||||||
self._options = CertificateOptions(verify=False)
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def get_options(self, host):
|
def get_options(self, host):
|
||||||
return ClientTLSOptions(
|
return ClientTLSOptions(
|
||||||
host,
|
host,
|
||||||
self._options.getContext()
|
CertificateOptions(verify=False).getContext()
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue