Subject: | SSLify Bug + fix |
Date: | Sun, 29 Nov 2009 20:08:31 +0100 |
To: | bugs-POE-Component-SSLify [...] rt.cpan.org |
From: | Sebastien Vercammen <sebastien [...] gamecon.be> |
Hi,
I've just found a bug in SSLify.
With ActivePerl installed (and OpenSSL, etc.), I've installed Strawberry
too.
While trying to create an IRC bot, using Strawberry, completely ignoring
AP, it couldn't connect. It gave me this error :
"Couldn't use an SSL socket: Unable to set blocking mode on socket: at
C:/strawberry/perl/site/lib/POE/Component/SSLify.pm line 71."
After opening SSLify.pm and changing
" if ( $] >= 5.008 and $^O eq 'MSWin32' ) { "
to " if ( 0 ) "
It worked just fine.
This might be a fix for you :] Would be best to detect not only Win32,
but AP too. ;]
--
Sebastien Vercammen
sebastien@gamecon.be
Tel.: 0499/16 62 81