0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-15 08:03:51 +01:00

Update default endpoint port to match the default ports in the config

This commit is contained in:
Erik Johnston 2014-09-02 16:56:57 +01:00
parent 464e1fcfa5
commit 235f686da9

View file

@ -50,11 +50,11 @@ def matrix_endpoint(reactor, destination, ssl_context_factory=None,
if ssl_context_factory is None: if ssl_context_factory is None:
transport_endpoint = TCP4ClientEndpoint transport_endpoint = TCP4ClientEndpoint
default_port = 8080 default_port = 8008
else: else:
transport_endpoint = SSL4ClientEndpoint transport_endpoint = SSL4ClientEndpoint
endpoint_kw_args.update(sslContextFactory=ssl_context_factory) endpoint_kw_args.update(sslContextFactory=ssl_context_factory)
default_port = 443 default_port = 8448
if port is None: if port is None:
return SRVClientEndpoint( return SRVClientEndpoint(