mirror of
https://github.com/minio/minio.git
synced 2024-12-24 22:25:54 -05:00
use HTTP/2 when connecting to KES (#9514)
This commit makes the KES client use HTTP/2 when establishing a connection to the KES server. This is necessary since the next KES server release will require HTTP/2.
This commit is contained in:
parent
9b3b04ecec
commit
145f501a21
@ -112,6 +112,7 @@ func NewKes(cfg KesConfig) (KMS, error) {
|
||||
Certificates: []tls.Certificate{cert},
|
||||
RootCAs: certPool,
|
||||
}
|
||||
cfg.Transport.ForceAttemptHTTP2 = true
|
||||
return &kesService{
|
||||
client: &kesClient{
|
||||
addr: cfg.Endpoint,
|
||||
|
Loading…
Reference in New Issue
Block a user