Skip Menu |

This queue is for tickets about the AuthCAS CPAN distribution.

Report information
The Basics
Id: 24021
Status: resolved
Priority: 0/
Queue: AuthCAS

People
Owner: Nobody in particular
Requestors: stephen.more [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.1
Fixed in: (no value)



Subject: error trapping in get_https2
sub routine get_https2 sets $errors and returns undef in multiple places. The return from get_https2 never gets checked for undef. I was getting: error IO::Socket::INET configuration failederror:00000000:lib(0):func(0):reason(0) unable to connect but it was never reported anywhere. Perhaps something along the lines of: return (\@result); in get_https2 my $xmlRef = &get_https2($host, $port, $path,{'cafile' => $self->{'CAFile'}, 'capath' => $self->{'CAPath'}}); if( ! defined ( $xmlRef ) ) { warn $errors; return undef; } my( @xml ) = @$xmlRef;
I've applied your proposed patch to the SVN repository : http://sourcesup.cru.fr/viewvc/viewvc/trunk/lib/AuthCAS.pm?root=perlcas&r1=21&r2=24 Thanks.