summary refs log tree commit diff
path: root/synapse/http
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-06-25 15:22:57 +0100
committerErik Johnston <erik@matrix.org>2018-06-25 15:22:57 +0100
commit947fea67cb9481c958a545ae7a8e7291511f8465 (patch)
tree2df8b171f165e81c520e97a41c87db3d16391e7a /synapse/http
parentUse towncrier to build the changelog (#3425) (diff)
downloadsynapse-947fea67cb9481c958a545ae7a8e7291511f8465.tar.xz
Need to pass reactor to endpoint fac
Diffstat (limited to 'synapse/http')
-rw-r--r--synapse/http/endpoint.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/http/endpoint.py b/synapse/http/endpoint.py
index 928c1c7407..80da870584 100644
--- a/synapse/http/endpoint.py
+++ b/synapse/http/endpoint.py
@@ -74,7 +74,7 @@ def matrix_federation_endpoint(reactor, destination, ssl_context_factory=None,
             reactor, "matrix", domain, protocol="tcp",
             default_port=default_port, endpoint=transport_endpoint,
             endpoint_kw_args=endpoint_kw_args
-        ))
+        ), reactor)
     else:
         return _WrappingEndpointFac(transport_endpoint(
             reactor, domain, port, **endpoint_kw_args