mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
Add small client TLS PSK cache (#14039)
This commit is contained in:
@@ -417,7 +417,8 @@ func getUpdateTransport(timeout time.Duration) http.RoundTripper {
|
||||
TLSHandshakeTimeout: timeout,
|
||||
ExpectContinueTimeout: timeout,
|
||||
TLSClientConfig: &tls.Config{
|
||||
RootCAs: globalRootCAs,
|
||||
RootCAs: globalRootCAs,
|
||||
ClientSessionCache: tls.NewLRUClientSessionCache(tlsClientSessionCacheSize),
|
||||
},
|
||||
DisableCompression: true,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user