From 0f22d2ffb285c68fcbdf39454df79af0f9f372aa Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 6 May 2021 18:08:29 +0000 Subject: (%FallbackDownloaderArgs): pass --insecure for curl and --no-check-certificates for wget. git-svn-id: svn://tug.org/texlive/trunk@59097 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/TeXLive/TLConfig.pm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'Master') diff --git a/Master/tlpkg/TeXLive/TLConfig.pm b/Master/tlpkg/TeXLive/TLConfig.pm index 0b2862c163b..a64eda11a2b 100644 --- a/Master/tlpkg/TeXLive/TLConfig.pm +++ b/Master/tlpkg/TeXLive/TLConfig.pm @@ -125,10 +125,13 @@ if ($^O =~ /^MSWin/i) { our @AcceptedFallbackDownloaders = qw/curl wget/; our %FallbackDownloaderProgram = ( 'wget' => 'wget', 'curl' => 'curl'); our %FallbackDownloaderArgs = ( - 'curl' => ['--user-agent', 'texlive/curl', '--retry', '4', '--retry-delay', '5', - '--fail', '--location', - '--connect-timeout', "$NetworkTimeout", '--silent', '--output'], + 'curl' => ['--user-agent', 'texlive/curl', + '--retry', '4', '--retry-delay', '4', + '--connect-timeout', "$NetworkTimeout", + '--insecure', + '--fail', '--location', '--silent', '--output'], 'wget' => ['--user-agent=texlive/wget', '--tries=4', + '--no-check-certificates', "--timeout=$NetworkTimeout", '-q', '-O'], ); # the way we package things on the web -- cgit v1.2.3