Lines 1-11
Link Here
|
1 |
--- lib/proxy/http_download.rb.orig 2021-10-26 14:48:17.000000000 +0200 |
1 |
--- lib/proxy/http_download.rb.orig 2022-02-16 01:16:26 UTC |
2 |
+++ lib/proxy/http_download.rb 2021-11-24 12:24:12.924526000 +0100 |
2 |
+++ lib/proxy/http_download.rb |
3 |
@@ -9,7 +9,7 @@ |
3 |
@@ -10,7 +10,7 @@ module Proxy |
|
|
4 |
logger.warn('Deprecated: HttpDownload read_timeout is deprecated and will be removed in 4.0') if read_timeout |
5 |
logger.warn('Deprecated: HttpDownload dns_timeout is deprecated and will be removed in 4.0') if dns_timeout |
6 |
connect_timeout ||= DEFAULT_CONNECT_TIMEOUT |
7 |
- args = [which('curl')] |
8 |
+ args = ["%%LOCALBASE%%/bin/curl"] |
4 |
|
9 |
|
5 |
def initialize(src, dst, read_timeout = nil, connect_timeout = nil, dns_timeout = nil, verify_server_cert = false) |
10 |
# no cert verification if set |
6 |
@dst = dst |
11 |
args << "--insecure" unless verify_server_cert |
7 |
- wget = which("wget") |
|
|
8 |
+ wget = "%%LOCALBASE%%/bin/wget" |
9 |
read_timeout ||= DEFAULT_READ_TIMEOUT |
10 |
dns_timeout ||= DEFAULT_CONNECT_TIMEOUT |
11 |
connect_timeout ||= DEFAULT_DNS_TIMEOUT |
12 |
- |
|
|