TLS cert rotation: reset retry counter after successful rotation

This commit is contained in:
Alberto Sottile 2019-02-19 10:45:10 +01:00
parent a60e6aac8a
commit d7fa6ccf14

View File

@ -231,6 +231,7 @@ class SyncFactory(Factory):
self.options = contextFactory self.options = contextFactory
self.serverAcceptsTLS = True self.serverAcceptsTLS = True
self._TLSattempts = 0
print("TLS support is enabled.") print("TLS support is enabled.")
except Exception as e: except Exception as e:
self.options = None self.options = None