Merge pull request #8394 from berghauz/master

Proxy support added to webdav uploader, fixes #7922
This commit is contained in:
Daniel Lee 2017-05-17 14:49:22 +02:00 committed by GitHub
commit 16fb7a2e4a

View File

@ -21,6 +21,7 @@ type WebdavUploader struct {
}
var netTransport = &http.Transport{
Proxy: http.ProxyFromEnvironment,
Dial: (&net.Dialer{
Timeout: 60 * time.Second,
}).Dial,