zeroshade commented on code in PR #35051:
URL: https://github.com/apache/arrow/pull/35051#discussion_r1164345810


##########
go/arrow/flight/flightsql/driver/config.go:
##########
@@ -19,9 +19,53 @@ import (
        "crypto/tls"
        "fmt"
        "net/url"
+       "sync"
        "time"
+
+       "github.com/google/uuid"
+)
+
+// TLS configuration registry
+var (
+       tlsConfigRegistry = map[string]*tls.Config{
+               "skip-verify": {InsecureSkipVerify: true},
+       }
+       tlsRegistryMutex sync.Mutex

Review Comment:
   I agree that it's not likely in a hot path and unlikely to be a cause for 
contention. It's probably alright for it to be a regular mutex. this is fine.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to