1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 15:48:49 -05:00

Make use of proxy vars if set.

Posted to the list by Quanah Gibson-Mount [quanah zimbra.com].
This commit is contained in:
Guenter Knauf 2011-04-01 14:58:36 +02:00
parent e02c90dc19
commit 5eda4bf726

View File

@ -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);
}