Add a comment re #1691

pull/8370/head
Richard van der Hoff 2020-09-21 12:34:06 +01:00
parent babc027543
commit 4f3096d866
1 changed files with 5 additions and 1 deletions

View File

@ -45,7 +45,11 @@ _TLS_VERSION_MAP = {
class ServerContextFactory(ContextFactory):
"""Factory for PyOpenSSL SSL contexts that are used to handle incoming
connections."""
connections.
TODO: replace this with an implementation of IOpenSSLServerConnectionCreator,
per https://github.com/matrix-org/synapse/issues/1691
"""
def __init__(self, config):
# TODO: once pyOpenSSL exposes TLS_METHOD and SSL_CTX_set_min_proto_version,