Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Quest for the Elusive Non-Blocking SSL Client

by syphilis (Chancellor)
on Dec 18, 2010 at 22:23 UTC ( #877806=note: print w/ replies, xml ) Need Help??

in reply to Quest for the Elusive Non-Blocking SSL Client

IO::Socket::SSL builds and installs fine for me on Windows. What was the problem you came up against ?


Comment on Re: Quest for the Elusive Non-Blocking SSL Client
Replies are listed 'Best First'.
Re^2: Quest for the Elusive Non-Blocking SSL Client
by bill.bbennett (Novice) on Dec 20, 2010 at 14:52 UTC


    Thanks for the reply. Here's what I'm seeing:

    • The install of IO::Socket::SSL fails because it can't find Net::SSLeay.
    • Of course, if I could install Net::SSLeay, I wouldn't need IO::Socket::SSL. I already have code which works with Net::SSLeay (at least under snow leopard).
    • Net::SSLeay fails because it can't find openssl. It asks me to set the OPENSSL_PREFIX environment variable.
    • It looks like there is a directory under C: which contains OpenSSL (after I download and install the latest openssl, which for some reason, doesn't set the OPENSSL_PREFIX environment variable). So I set the environment variable.
    • However, this version of openssl is newer than the openssl with which Net::SSLeay was built (which is not surprising, because I just downloaded it).
    • It still tries to install, but ultimately, it fails...

    Does this mean that I have to abandon the package managers and go rebuild Net::SSLeay from source?


    Bill B

Re^2: Quest for the Elusive Non-Blocking SSL Client
by andal (Hermit) on Dec 21, 2010 at 10:47 UTC

    Hm. I have IO::Socket::SSL running on Linux box. I didn't even install it, it came bundled with perl (gentoo linux)

    But as a side note, the openssl library really sucks for not providing direct support for non-blocking reading/writing. I guess thinking only in threads plays its role in design. Please, don't take it as complain. Just pointing out, that things are not simple even outside of Perl :)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://877806]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (12)
As of 2015-10-09 11:25 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (239 votes), past polls