mirror of
https://github.com/pgsty/minio.git
synced 2026-08-09 07:43:29 +03:00
set http transport config for gateway (#4765)
This change sets the http config for the minio client used by the minio server in gateway mode. Fixes #4765
This commit is contained in:
committed by
Harshavardhana
parent
1e8925cea0
commit
b10fa507b2
@@ -130,6 +130,7 @@ func newS3Gateway(host string) (GatewayLayer, error) {
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
anonClient.SetCustomTransport(newCustomHTTPTransport())
|
||||
|
||||
return &s3Objects{
|
||||
Client: client,
|
||||
|
||||
Reference in New Issue
Block a user