mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-31 13:04:14 -04:00
* Fix typechecking errors introduced in #14128 * Changelog * Correct annotations so that context_factory works if you don't use TLS
This commit is contained in:
parent
63cc56affa
commit
258b5285b6
3 changed files with 6 additions and 4 deletions
|
@ -364,8 +364,8 @@ def listen_http(
|
|||
root_resource: Resource,
|
||||
version_string: str,
|
||||
max_request_body_size: int,
|
||||
context_factory: IOpenSSLContextFactory,
|
||||
reactor: IReactorSSL = reactor,
|
||||
context_factory: Optional[IOpenSSLContextFactory],
|
||||
reactor: ISynapseReactor = reactor,
|
||||
) -> List[Port]:
|
||||
port = listener_config.port
|
||||
bind_addresses = listener_config.bind_addresses
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue