Revert change that cached connection factory
This commit is contained in:
parent
88af0317a2
commit
26f524872f
|
@ -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()
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue