elcamlost / perl-DBD-ClickHouse

Other
13 stars 7 forks source link

Adds TLS support to the module #11

Open reyjrar opened 3 months ago

reyjrar commented 3 months ago

Allows users to toggle proto => 'https' to enable TLS. Any parameters starting with SSL_ to the constructor are passed on to the Net::HTTPS constructor, which passes them onto the IO::Socket::SSL constructor in turn.

If proto => 'https' is specified, defaults the port to 8443.

We have a "Must use TLS" production requirement, so we need support for TLS in this module.