summary refs log tree commit diff
path: root/synapse/http/client.py
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2020-03-17 17:40:37 +0100
committerGitHub <noreply@github.com>2020-03-17 16:40:37 +0000
commit85845e048cd8d2674ad38dd00e8a934b4b960adc (patch)
tree69629a1b986a9df0cd3412faf4beb3dcaba7dee5 /synapse/http/client.py
parentShare SSL options for well-known requests (#29) (diff)
downloadsynapse-85845e048cd8d2674ad38dd00e8a934b4b960adc.tar.xz
Share SSL contexts for non-federation requests (#30)
* Share SSL contexts for non-federation requests

* newsfile
Diffstat (limited to 'synapse/http/client.py')
-rw-r--r--synapse/http/client.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/synapse/http/client.py b/synapse/http/client.py

index bf8afa703e..896e71cef3 100644 --- a/synapse/http/client.py +++ b/synapse/http/client.py
@@ -246,9 +246,6 @@ class SimpleHttpClient(object): pool.maxPersistentPerHost = max((100 * CACHE_SIZE_FACTOR, 5)) pool.cachedConnectionTimeout = 2 * 60 - # The default context factory in Twisted 14.0.0 (which we require) is - # BrowserLikePolicyForHTTPS which will do regular cert validation - # 'like a browser' self.agent = ProxyAgent( self.reactor, connectTimeout=15,