v.20.12Improvement

Support SNI in HTTPS Connections to Cloudflare Servers

Support SNI in https connections to remote resources. This will allow to connect to Cloudflare servers that require SNI. This fixes #10055. #16252 (alexey-milovidov).
Added support for Server Name Indication (SNI) in HTTPS connections to remote resources.

Why it matters

This feature enables ClickHouse to connect to HTTPS servers that require SNI, such as Cloudflare servers, resolving connection issues reported in issue #10055.

How to use it

No special configuration is needed by users. ClickHouse will automatically send the SNI field during TLS handshakes when connecting to remote HTTPS resources.