Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

HTTP::Daemon::SSL and threads

by newtonapple (Initiate)
on Sep 26, 2012 at 16:38 UTC ( #995814=perlquestion: print w/ replies, xml ) Need Help??
newtonapple has asked for the wisdom of the Perl Monks concerning the following question:

How do I implement HTTPS using threads? I have tried using HTTP::Daemon::SSL but it gives me a segmentation fault with threads as the underlying Net::SSLeay module is not thread safe. Is there any workaround for this?

Comment on HTTP::Daemon::SSL and threads
Replies are listed 'Best First'.
Re: HTTP::Daemon::SSL and threads
by Illuminatus (Curate) on Sep 26, 2012 at 16:59 UTC
    caveat: I haven't actually used this module

    Did you read the cpan documentation for Net::SSLeay? It has a section on how to use it in a multi-threaded environment. It should probably work if you follow those instructions, unless you're also using another module that independently initializes openssl.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://995814]
Approved by MidLifeXis
Front-paged by MidLifeXis
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2015-11-27 12:07 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (727 votes), past polls