Don't silence curl errors/warnings, only the progress bar
This commit is contained in:
parent
6408be6ccc
commit
232daa3b62
1 changed files with 1 additions and 1 deletions
|
@ -2857,7 +2857,7 @@ sub geturl {
|
||||||
if (!opt('exec')) {
|
if (!opt('exec')) {
|
||||||
info("would request: ${protocol}://${server}/${url}");
|
info("would request: ${protocol}://${server}/${url}");
|
||||||
} else {
|
} else {
|
||||||
push(@curlopt, "silent");
|
push(@curlopt, "no-progress-meter");
|
||||||
push(@curlopt, "include"); ## Include HTTP response for compatibility
|
push(@curlopt, "include"); ## Include HTTP response for compatibility
|
||||||
push(@curlopt, "insecure") if ($use_ssl && !($params{ssl_validate} // 1));
|
push(@curlopt, "insecure") if ($use_ssl && !($params{ssl_validate} // 1));
|
||||||
push(@curlopt, "cacert=\"".escape_curl_param(opt('ssl_ca_file')).'"') if defined(opt('ssl_ca_file'));
|
push(@curlopt, "cacert=\"".escape_curl_param(opt('ssl_ca_file')).'"') if defined(opt('ssl_ca_file'));
|
||||||
|
|
Loading…
Reference in a new issue