Skip to content

Commit

Permalink
Fix ALPN error after go-grpc upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
adambabik committed Jan 12, 2025
1 parent 2ae32ae commit 1ff4ba1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/tls/tls.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ func LoadClientConfig(certFile, keyFile string) (*tls.Config, error) {
Certificates: []tls.Certificate{cert},
RootCAs: certPool,
MinVersion: tls.VersionTLS12,
NextProtos: []string{"h2"},
}, nil
}

Expand Down

0 comments on commit 1ff4ba1

Please sign in to comment.