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