You've already forked imgproxy
mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-12-18 00:17:25 +02:00
Dial => DialContext
This commit is contained in:
@@ -52,7 +52,7 @@ func initDownloading() error {
|
|||||||
MaxIdleConns: conf.Concurrency,
|
MaxIdleConns: conf.Concurrency,
|
||||||
MaxIdleConnsPerHost: conf.Concurrency,
|
MaxIdleConnsPerHost: conf.Concurrency,
|
||||||
DisableCompression: true,
|
DisableCompression: true,
|
||||||
Dial: (&net.Dialer{KeepAlive: 600 * time.Second}).Dial,
|
DialContext: (&net.Dialer{KeepAlive: 600 * time.Second}).DialContext,
|
||||||
}
|
}
|
||||||
|
|
||||||
if conf.IgnoreSslVerification {
|
if conf.IgnoreSslVerification {
|
||||||
|
|||||||
Reference in New Issue
Block a user