Skip to content

Commit

Permalink
Merge pull request #5413 from sgarcez/grpc-alpn-fix
Browse files Browse the repository at this point in the history
fix: set h2 protocol identifier to comply with TLS-ALPN
  • Loading branch information
tonistiigi authored Oct 10, 2024
2 parents 96f26c1 + 29a7e5a commit 2534310
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/buildkitd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -740,6 +740,7 @@ func serverCredentials(cfg config.TLSConfig) (*tls.Config, error) {
}
tlsConf := &tls.Config{
Certificates: []tls.Certificate{certificate},
NextProtos: []string{"h2"},
}
if caFile != "" {
certPool := x509.NewCertPool()
Expand Down

0 comments on commit 2534310

Please sign in to comment.