Revert change that cached connection factory

This commit is contained in:
Erik Johnston 2019-02-18 18:36:54 +00:00
parent 88af0317a2
commit 26f524872f

View file

@ -128,11 +128,10 @@ class ClientTLSOptionsFactory(object):
def __init__(self, config):
# We don't use config options yet
self._options = CertificateOptions(verify=False)
pass
def get_options(self, host):
return ClientTLSOptions(
host,
self._options.getContext()
CertificateOptions(verify=False).getContext()
)