diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-05-15 16:28:32 +0200 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-05-15 16:28:32 +0200 |
commit | 2a3c27aadee91cd7b179e762ef0fe99128345bd1 (patch) | |
tree | ca6c49de6ec9b19e968cd33f38368da635f26afe /https.h | |
parent | 27a7f04277cacee6ca4517653f63d5cad9c61ee3 (diff) |
Reload certificates daily
Diffstat (limited to 'https.h')
-rw-r--r-- | https.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -38,11 +38,16 @@ public: private: ctx_type m_ctx; - + boost::asio::steady_timer m_certificates_timer; + std::function<void(const boost::system::error_code&)> m_certificates_timer_callback; + public: Server(Config& config, boost::asio::io_context& ioc, const Socket& socket, plugins_container_type& plugins, Statistics& statistics); virtual ~Server(); + void load_certificates(); + void reload_certificates(); + int start() override; }; |