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
}
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit