Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Quest for the Elusive Non-Blocking SSL Client

by syphilis (Canon)
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 ?

Cheers,
Rob


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

    Rob,

    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?

    Thanks,

    Bill B

Re^2: Quest for the Elusive Non-Blocking SSL Client
by andal (Friar) 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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2014-08-02 00:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who would be the most fun to work for?















    Results (53 votes), past polls