|We don't bite newbies here... much|
IO::Socket::SSL, perl5.8, or select bug?by rr (Sexton)
|on Apr 21, 2003 at 18:46 UTC||Need Help??|
rr has asked for the wisdom of the Perl Monks concerning the following question:
The following code works correctly IN the debugger, but fails with "Bad file descriptor" when not in the debugger. If I am using a regular IO::Socket::INET object, it works just fine both in and out of the debugger.
Am I retarded or is this incredibly weird? The following is what I get from using strace
FYI, this is perl5.8 (with ithreads) on both redhat and mandrake I tried with the most recent Net::SSLeay and IO::Socket::SSL from CPAN.
I have verified that the SSL socket is made in both cases (in and out of the debugger) by looking at the output of strace and using the debugging functionality if IO::Socket::SSL.
Thanks for any help