Skip to content

Commit 29a7e5a

Browse files
committed
fix: set h2 protocol identifier to comply with TLS-ALPN
Signed-off-by: Sergio Garcez <[email protected]>
1 parent 62bda5c commit 29a7e5a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/buildkitd/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -740,6 +740,7 @@ func serverCredentials(cfg config.TLSConfig) (*tls.Config, error) {
740740
}
741741
tlsConf := &tls.Config{
742742
Certificates: []tls.Certificate{certificate},
743+
NextProtos: []string{"h2"},
743744
}
744745
if caFile != "" {
745746
certPool := x509.NewCertPool()

0 commit comments

Comments
 (0)