Commit 16fb7a2e by Daniel Lee Committed by GitHub

Merge pull request #8394 from berghauz/master

Proxy support added to webdav uploader, fixes #7922
parents f5118ced 48cf58e7
...@@ -21,6 +21,7 @@ type WebdavUploader struct { ...@@ -21,6 +21,7 @@ type WebdavUploader struct {
} }
var netTransport = &http.Transport{ var netTransport = &http.Transport{
Proxy: http.ProxyFromEnvironment,
Dial: (&net.Dialer{ Dial: (&net.Dialer{
Timeout: 60 * time.Second, Timeout: 60 * time.Second,
}).Dial, }).Dial,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment