SVN: toys/rsget.pl/RSGet/Curl.pm
sparky
sparky at pld-linux.org
Tue Oct 13 16:21:22 CEST 2009
Author: sparky
Date: Tue Oct 13 16:21:21 2009
New Revision: 10775
Modified:
toys/rsget.pl/RSGet/Curl.pm
Log:
- ignore ssl certs
Modified: toys/rsget.pl/RSGet/Curl.pm
==============================================================================
--- toys/rsget.pl/RSGet/Curl.pm (original)
+++ toys/rsget.pl/RSGet/Curl.pm Tue Oct 13 16:21:21 2009
@@ -105,6 +105,7 @@
if defined $get_obj->{_referer};
$curl->setopt( CURLOPT_ENCODING, 'gzip,deflate' );
$curl->setopt( CURLOPT_CONNECTTIMEOUT, 20 );
+ $curl->setopt( CURLOPT_SSL_VERIFYPEER, 0 );
if ( $opts{post} ) {
my $post = $opts{post};
@@ -136,6 +137,7 @@
#p "File '$fn' already exists, trying to continue at $got";
$curl->setopt( CURLOPT_RANGE, "$got-" );
+ $get_obj->log( "trying to continue at $got\n" ) if verbose( 4 );
$supercurl->{fname} = $fn;
$supercurl->{filepath} = $fp
}
More information about the pld-cvs-commit
mailing list