summary refs log tree commit diff
path: root/synapse/server.py
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2019-02-11 21:36:26 +1100
committerRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2019-02-11 10:36:26 +0000
commit6e2a5aa050fc132a7dee6b3e33a7a368207d7e5a (patch)
tree7c30cc2c0fe48d3e5c0513565a390b5572d9248a /synapse/server.py
parentBe tolerant of blank TLS fingerprints config (#4589) (diff)
downloadsynapse-6e2a5aa050fc132a7dee6b3e33a7a368207d7e5a.tar.xz
ACME Reprovisioning (#4522)
Diffstat (limited to '')
-rw-r--r--synapse/server.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/server.py b/synapse/server.py
index 6c52101616..a2cf8a91cd 100644
--- a/synapse/server.py
+++ b/synapse/server.py
@@ -112,6 +112,8 @@ class HomeServer(object):
 
     Attributes:
         config (synapse.config.homeserver.HomeserverConfig):
+        _listening_services (list[twisted.internet.tcp.Port]): TCP ports that
+            we are listening on to provide HTTP services.
     """
 
     __metaclass__ = abc.ABCMeta
@@ -196,6 +198,7 @@ class HomeServer(object):
         self._reactor = reactor
         self.hostname = hostname
         self._building = {}
+        self._listening_services = []
 
         self.clock = Clock(reactor)
         self.distributor = Distributor()