Skip Menu |

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

Report information
The Basics
Id: 22372
Status: resolved
Priority: 0/
Queue: POE-Component-SSLify

People
Owner: Nobody in particular
Requestors: ewaters [...] uarc.com
Cc:
AdminCc:

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



Subject: Dies upon CLOSE() without _get_self()
Date: Fri, 20 Oct 2006 12:33:53 -0600
To: bug-POE-Component-SSLify [...] rt.cpan.org
From: Eric Waters <ewaters [...] uarc.com>
In using this module in the wild (a custom derivation of POE::Component::Jabber Server), I found that if my socket would go away, the code would die. I wanted it to stay alive and try and reestablish the socket w/ SSL. It looks like the problem is at: File: POE-Component-SSLify-0.04/lib/POE/Component/SSLify/ClientHandle.pm Line: 45-47 There's an assumption that $info is defined. But in my case above, $info for some reason wasn't defined. Not sure if this is a bug, but I'd suggest this change: 45,47c45,49 < Net::SSLeay::free( $info->{'ssl'} ); < Net::SSLeay::CTX_free( $info->{'ctx'} ); < close $info->{'socket'}; --- Show quoted text
> if ($info) { > Net::SSLeay::free( $info->{'ssl'} ); > Net::SSLeay::CTX_free( $info->{'ctx'} ); > close $info->{'socket'}; > }
Eric Waters -- Email signed with GnuPG key id 0x7FE92A42 http://www.vegcrew.net/~ewaters/pubkey.asc
Download (untitled)
application/pgp-signature 189b

Message body not shown because it is not plain text.

Sorry for the LONG delay, it's fixed in 0.07 Thanks again! -- ~Apocalypse