mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 11:22:12 +00:00
Correct misleading comments
This commit is contained in:
parent
dfe7f2df8b
commit
21774d6700
@ -22,11 +22,11 @@ namespace DB
|
|||||||
{
|
{
|
||||||
|
|
||||||
/// The CertificateReloader singleton performs 2 functions:
|
/// The CertificateReloader singleton performs 2 functions:
|
||||||
/// 1. Dynamic reloading of TLS key-pair when requested by main:
|
/// 1. Dynamic reloading of TLS key-pair when requested by server:
|
||||||
/// Main notifies CertificateReloader when the config changes. On changed config,
|
/// Server config reloader notifies CertificateReloader when the config changes.
|
||||||
/// CertificateReloader reloads certs from disk.
|
/// On changed config, CertificateReloader reloads certs from disk.
|
||||||
/// 2. Implement `SSL_CTX_set_cert_cb` to set certificate for a new connection:
|
/// 2. Implement `SSL_CTX_set_cert_cb` to set certificate for a new connection:
|
||||||
/// OpenSSL invokes `cert_reloader_dispatch_set_cert` to setup a connection.
|
/// OpenSSL invokes a callback to setup a connection.
|
||||||
class CertificateReloader
|
class CertificateReloader
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@ -47,9 +47,7 @@ public:
|
|||||||
/// Handle configuration reload
|
/// Handle configuration reload
|
||||||
void reload(const Poco::Util::AbstractConfiguration & config);
|
void reload(const Poco::Util::AbstractConfiguration & config);
|
||||||
|
|
||||||
/// Add cert, key to SSL* connection. SetCertificate runs in an IO thread during
|
/// A callback for OpenSSL
|
||||||
/// connection setup. SetCertificate is
|
|
||||||
/// establishing a new TLS connection.
|
|
||||||
int setCertificate(SSL * ssl);
|
int setCertificate(SSL * ssl);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
Loading…
Reference in New Issue
Block a user