noxxi / p5-io-socket-ssl

IO::Socket::SSL Perl Module
36 stars 60 forks source link

Fix failing non-blocking test on Unix platforms where EWOULDBLOCK is … #35

Closed andygrundman closed 9 years ago

andygrundman commented 9 years ago

Fix failing non-blocking test on Unix platforms where EWOULDBLOCK is not the same as EAGAIN (Solaris, AIX, HP-UX, etc). This bug was introduced by commit d95289 for 2.006. The fix is simply to check for either of these errors instead of just one.

noxxi commented 9 years ago

Thanks for the fix. It will incorporated into the next release.