mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 19:32:07 +00:00
Update CertReloader.h
This commit is contained in:
parent
9290182112
commit
e0b98cfa76
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user