We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0e3a08 commit fe1beeaCopy full SHA for fe1beea
connector.go
@@ -236,7 +236,7 @@ func WithSessionParams(params map[string]string) ConnOption {
236
// WARNING:
237
// When this option is used, TLS is susceptible to machine-in-the-middle attacks.
238
// Please only use this option when the hostname is an internal private link hostname
239
-func WithSkipTLSHostVerify() connOption {
+func WithSkipTLSHostVerify() ConnOption {
240
return func(c *config.Config) {
241
if c.TLSConfig == nil {
242
c.TLSConfig = &tls.Config{MinVersion: tls.VersionTLS12, InsecureSkipVerify: true} // #nosec G402
0 commit comments