Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 imbibing at the Monastery: (13)
As of 2015-07-07 16:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (91 votes), past polls