Update CertReloader.h

This commit is contained in:
alexey-milovidov 2021-07-07 01:18:41 +03:00 committed by GitHub
parent 9290182112
commit e0b98cfa76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -92,10 +92,12 @@ public:
int SetCert(SSL * ssl); int SetCert(SSL * ssl);
private: private:
CertReloader() : log(&Poco::Logger::get("CertReloader")), cert_file(""), cert(nullptr), key_file(""), key(nullptr) { } CertReloader()
{
}
mutable std::shared_mutex lck; mutable std::shared_mutex lock;
Poco::Logger * log; Poco::Logger * log = &Poco::Logger::get("CertReloader");
std::string cert_file; std::string cert_file;
stat_t cert_file_st; stat_t cert_file_st;