summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-02-18 18:36:54 +0000
committerErik Johnston <erik@matrix.org>2019-02-18 18:36:54 +0000
commit26f524872fef7c345ced6c5228e325ea20a1a13d (patch)
treecdd046ef56db8d4abb8545744b3879aa0321dc41
parentMerge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes (diff)
downloadsynapse-26f524872fef7c345ced6c5228e325ea20a1a13d.tar.xz
Revert change that cached connection factory
-rw-r--r--synapse/crypto/context_factory.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/crypto/context_factory.py b/synapse/crypto/context_factory.py

index 83f053d73d..85f2848fb1 100644 --- a/synapse/crypto/context_factory.py +++ b/synapse/crypto/context_factory.py
@@ -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() )