mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Update default endpoint port to match the default ports in the config
This commit is contained in:
parent
464e1fcfa5
commit
235f686da9
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user