ExtensionsLst.pm (201b78c7) ExtensionsLst.pm (c0bb9ecc)
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 440 unchanged lines hidden (view full) ---

449 open my $out, ">$temporary_filename";
450 binmode($out);
451
452 # Prepare md5
453 my $md5 = Digest::MD5->new();
454
455 # Download the extension.
456 my $agent = LWP::UserAgent->new();
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 440 unchanged lines hidden (view full) ---

449 open my $out, ">$temporary_filename";
450 binmode($out);
451
452 # Prepare md5
453 my $md5 = Digest::MD5->new();
454
455 # Download the extension.
456 my $agent = LWP::UserAgent->new();
457 $agent->timeout(10);
457 $agent->timeout(120);
458 $agent->show_progress(1);
459 my $last_was_redirect = 0;
460 $agent->add_handler('response_redirect'
461 => sub{
462 $last_was_redirect = 1;
463 return;
464 });
465 $agent->add_handler('response_data'

--- 103 unchanged lines hidden ---
458 $agent->show_progress(1);
459 my $last_was_redirect = 0;
460 $agent->add_handler('response_redirect'
461 => sub{
462 $last_was_redirect = 1;
463 return;
464 });
465 $agent->add_handler('response_data'

--- 103 unchanged lines hidden ---