incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ar...@apache.org
Subject svn commit: r1393092 - /incubator/ooo/trunk/main/solenv/bin/download_external_dependencies.pl
Date Tue, 02 Oct 2012 18:49:39 GMT
Author: arist
Date: Tue Oct  2 18:49:38 2012
New Revision: 1393092

URL: http://svn.apache.org/viewvc?rev=1393092&view=rev
Log:
adding the ability to punch through proxy to external dependencies download script.
LWP::UserAgent uses proxy defined in environment if one is defined.

Modified:
    incubator/ooo/trunk/main/solenv/bin/download_external_dependencies.pl

Modified: incubator/ooo/trunk/main/solenv/bin/download_external_dependencies.pl
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/solenv/bin/download_external_dependencies.pl?rev=1393092&r1=1393091&r2=1393092&view=diff
==============================================================================
--- incubator/ooo/trunk/main/solenv/bin/download_external_dependencies.pl (original)
+++ incubator/ooo/trunk/main/solenv/bin/download_external_dependencies.pl Tue Oct  2 18:49:38
2012
@@ -531,6 +531,7 @@ sub DownloadFile ($$$)
     # Download the extension.
     my $agent = LWP::UserAgent->new();
     $agent->timeout(120);
+    $agent->env_proxy;
     $agent->show_progress(1);
     my $last_was_redirect = 0;
     $agent->add_handler('response_redirect'



Mime
View raw message