1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-09-16 09:36:18 +02:00

Dial => DialContext

This commit is contained in:
DarthSim
2021-02-02 18:54:30 +06:00
parent 19f430409d
commit 2765b71e9c

View File

@@ -52,7 +52,7 @@ func initDownloading() error {
MaxIdleConns: conf.Concurrency,
MaxIdleConnsPerHost: conf.Concurrency,
DisableCompression: true,
Dial: (&net.Dialer{KeepAlive: 600 * time.Second}).Dial,
DialContext: (&net.Dialer{KeepAlive: 600 * time.Second}).DialContext,
}
if conf.IgnoreSslVerification {