mirror of
https://github.com/curl/curl.git
synced 2026-07-16 13:07:16 +03:00
Make use of proxy vars if set.
Posted to the list by Quanah Gibson-Mount [quanah zimbra.com].
This commit is contained in:
parent
e02c90dc19
commit
5eda4bf726
1 changed files with 1 additions and 0 deletions
|
|
@ -81,6 +81,7 @@ unless ($opt_n and -e $txt) {
|
|||
print "Downloading '$txt' ...\n" if (!$opt_q);
|
||||
|
||||
my $ua = new LWP::UserAgent(agent => "$0/$version");
|
||||
$ua->env_proxy();
|
||||
$resp = $ua->mirror($url, $txt);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue