mirror of
https://github.com/cirruslabs/orchard.git
synced 2026-10-03 13:37:52 +02:00
Controller: advertise ALPN (#279)
This commit is contained in:
@@ -103,6 +103,10 @@ func runController(cmd *cobra.Command, args []string) (err error) {
|
||||
Certificates: []tls.Certificate{
|
||||
controllerCert,
|
||||
},
|
||||
// Since gRPC clients started enforcing ALPN at some point, we need to advertise it
|
||||
//
|
||||
// See https://github.com/grpc/grpc-go/issues/7922 for more details.
|
||||
NextProtos: []string{"http/1.1", "h2"},
|
||||
}),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user