MCPcopy Create free account
hub / github.com/Syncplay/syncplay / updateTLSContextFactory

Method updateTLSContextFactory

syncplay/server.py:299–303  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

297 return outTime
298
299 def updateTLSContextFactory(self):
300 self._allowTLSconnections(self.certPath)
301 self._TLSattempts += 1
302 if self._TLSattempts < constants.TLS_CERT_ROTATION_MAX_RETRIES:
303 self.serverAcceptsTLS = True
304
305
306class StatsRecorder(object):

Callers 1

handleTLSMethod · 0.80

Calls 1

_allowTLSconnectionsMethod · 0.95

Tested by

no test coverage detected