Skip Menu |

This queue is for tickets about the POE-Component-Client-Keepalive CPAN distribution.

Report information
The Basics
Id: 65069
Status: resolved
Priority: 0/
Queue: POE-Component-Client-Keepalive

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

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



Subject: die when ssl error occure
when i check some strange domain my sript died with error ssl connect It's occur because in the package POE::Component::SSLify::ClientHandle used die. my $resp = Net::SSLeay::connect( $ssl ) or die_if_ssl_error( 'ssl connect' ); It's invoked from POE::Component::Client::Keepalive.pm $socket = POE::Component::SSLify::Client_SSLify($socket);#line 586 May be should wrap Client_SSLify into eval? eval { $socket = POE::Component::SSLify::Client_SSLify ($socket); }; if ($@) { #process error (call _ka_conn_failure - for example) ... }
Thank you for the problem report and the suggested fix. I've committed a change that is essentially what you suggested. It should be resolved in the next release, which I expect to be soon.