Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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
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.

    fnord

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (13)
As of 2014-09-30 15:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (377 votes), past polls