gh-ost/go/mysql
Dirkjan Bussink 40acde0222
Set the ServerName for TLS configuration (#988)
When TLS hostname validation used for the MySQL connection, the
ServerName property needs to be set so that it knows which name to
validate on the certificate.

Without this option and with InsecureSkipVerify set to false, validation
will error here with a fatal error otherwise:

```
FATAL tls: either ServerName or InsecureSkipVerify must be specified in the tls.Config
```
2021-06-17 14:51:43 +02:00
..
binlog_test.go Throttling & critical load 2016-06-18 21:12:07 +02:00
binlog.go spelling: rotates 2017-11-08 00:56:14 +00:00
connection_test.go fix unit tests 2020-02-16 12:52:26 +02:00
connection.go Set the ServerName for TLS configuration (#988) 2021-06-17 14:51:43 +02:00
instance_key_map.go Parsing ipv6 addresses 2018-09-16 11:44:52 +03:00
instance_key_test.go support ipv6 without port 2018-09-16 11:52:59 +03:00
instance_key.go support ipv6 without port 2018-09-16 11:52:59 +03:00
utils.go All MySQL DBs limited to max 3 concurrent/idle connections #15 (#931) 2021-05-27 20:00:58 +02:00