[Catalyst] C:P:A:Store::LDAP start_tls problems

Scott Karns scottkinsf at yahoo.com
Wed Mar 29 23:47:55 CEST 2006


--- Scott Karns <scottkinsf at yahoo.com> wrote:
> > However, I'm still seeing the intermittent deep
> > recursion problem in IO::Socket::SSL. :(
> 
>   IO::Socket::SSL-0.97
> 
> I've finally identified what I guess must be the
> trigger, which is when the _SSL_fileno field of the
> IO::Socket::SSL object grabbed by connect_ldaps in
> Net::LDAP is 0, the deep recursion error occurs. It
> never occurs when the _SSL_fileno field is nonzero.
> This must be a problem with IO::Socket::SSL, right?
> (I
> suppose it could be the openssl library as well.)
> 

Hooray!

I haven't banged on it very hard yet, but I believe I
got it. The problem is the fileno method of
IO::Socket::SSL. It seems it should test for defined,
since a value of 0, while defined doesn't evaluate to
true. Patch attached.

-Scott

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: IO-Socket-SSL-0.97.patch
Type: text/x-patch
Size: 399 bytes
Desc: 1906025479-IO-Socket-SSL-0.97.patch
Url : http://lists.rawmode.org/pipermail/catalyst/attachments/20060329/cb24a4fe/attachment.bin 


More information about the Catalyst mailing list