Commit 085a4fb5 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 343294: Update notification does not work through an HTTP proxy - Patch by…

Bug 343294: Update notification does not work through an HTTP proxy - Patch by Cedric Caron <cedric.caron@citycable.ch> r=LpSolit a=justdave
parent 3d317ca0
...@@ -132,6 +132,7 @@ sub _synchronize_data { ...@@ -132,6 +132,7 @@ sub _synchronize_data {
my $ua = LWP::UserAgent->new(); my $ua = LWP::UserAgent->new();
$ua->timeout(TIMEOUT); $ua->timeout(TIMEOUT);
$ua->protocols_allowed(['http', 'https']); $ua->protocols_allowed(['http', 'https']);
$ua->env_proxy;
$ua->mirror(REMOTE_FILE, $local_file); $ua->mirror(REMOTE_FILE, $local_file);
# $ua->mirror() forces the modification time of the local XML file # $ua->mirror() forces the modification time of the local XML file
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment