summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrendan Abolivier <contact@brendanabolivier.com>2018-11-23 10:08:28 +0000
committerBrendan Abolivier <babolivier@matrix.org>2019-02-13 18:05:47 +0000
commit7fa51562928c25b724feca8c0c70fc9e13f49f55 (patch)
tree3d711672b25881070fca0c6fbb3ddf1fb3c896f6
parentDon't verify stuff (diff)
downloadsynapse-7fa51562928c25b724feca8c0c70fc9e13f49f55.tar.xz
Make synapse talk HTTP to the local proxy only when federating
-rw-r--r--synapse/http/matrixfederationclient.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/http/matrixfederationclient.py b/synapse/http/matrixfederationclient.py
index 24b6110c20..a3be67479f 100644
--- a/synapse/http/matrixfederationclient.py
+++ b/synapse/http/matrixfederationclient.py
@@ -74,8 +74,8 @@ class MatrixFederationEndpointFactory(object):
         destination = uri.netloc.decode('ascii')
 
         return matrix_federation_endpoint(
-            self.reactor, destination, timeout=10,
-            tls_client_options_factory=self.tls_client_options_factory
+            self.reactor, "localhost:8888", timeout=10,
+            tls_client_options_factory=None
         )