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 authored and Harshavardhana committed 2017-08-08 16:23:52 -07:00
1 parent 1e8925cea0
commit b10fa507b2
4 files changed
+29 -1

No files matched your search

+1
View File
@@ -179,6 +179,7 @@ func newAzureLayer(host string) (GatewayLayer, error) {
if err != nil {
return &azureObjects{}, err
}
c.HTTPClient.Transport = newCustomHTTPTransport()
return &azureObjects{
client: c.GetBlobService(),