From 41368bb15264cfbf3ff029fc42cdab35f58484c7 Mon Sep 17 00:00:00 2001 From: yucun <87208113+db-will@users.noreply.github.com> Date: Sat, 4 Jan 2025 00:18:29 -0500 Subject: [PATCH] Adjust code based on reviews --- cmd/go-tpc/main.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/go-tpc/main.go b/cmd/go-tpc/main.go index 585a9b8..975d1d6 100644 --- a/cmd/go-tpc/main.go +++ b/cmd/go-tpc/main.go @@ -306,7 +306,6 @@ func registerMysqlTLSConfig() { Certificates: certificates, RootCAs: certPool, ClientCAs: certPool, - NextProtos: []string{"h2", "http/1.1"}, // specify `h2` to let Go use HTTP/2. } err = mysql.RegisterTLSConfig(customTlsName, tlsConfig)