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:
Andreas Auernhammer
2017-08-03 18:38:27 -07:00
committed by Harshavardhana
parent 1e8925cea0
commit b10fa507b2
4 changed files with 29 additions and 1 deletions

View File

@@ -277,6 +277,7 @@ func newGCSGateway(projectID string) (GatewayLayer, error) {
if err != nil {
return nil, err
}
anonClient.SetCustomTransport(newCustomHTTPTransport())
gateway := &gcsGateway{
client: client,