Proxy support added, fixes #7922

Well, i'm really want to see it working in 4.3.0
This commit is contained in:
berghauz 2017-05-17 02:50:56 +03:00 committed by GitHub
parent 820671d6cc
commit c713bd9a9a

View File

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