simple_server: Restart when the certificate changes
authorNirbheek Chauhan <nirbheek@centricular.com>
Mon, 25 May 2020 18:34:11 +0000 (18:34 +0000)
committerMatthew Waters <matthew@centricular.com>
Thu, 18 Jun 2020 13:34:48 +0000 (23:34 +1000)
commit77ae10ab663bda858c03a5becd452a269c70ca19
treecf3b2281ad621479c1e7d911e7faddec78d00ece
parent4761396d870b329353ffb3f33d9f1bfc78c465ea
simple_server: Restart when the certificate changes

Reload the SSL context and restart the server if the certificate
changes. Without this, new connections will continue to use the old
expired certificate.
webrtc/signalling/simple_server.py