From: Guenter Knauf Date: Fri, 1 Apr 2011 12:58:36 +0000 (+0200) Subject: Make use of proxy vars if set. X-Git-Tag: upstream/7.37.1~4225 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5eda4bf726d4a79c9c5c6d263024f40cb016cd03;p=platform%2Fupstream%2Fcurl.git Make use of proxy vars if set. Posted to the list by Quanah Gibson-Mount [quanah zimbra.com]. --- diff --git a/lib/mk-ca-bundle.pl b/lib/mk-ca-bundle.pl index 49cd6b5..425286d 100755 --- a/lib/mk-ca-bundle.pl +++ b/lib/mk-ca-bundle.pl @@ -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); }