Re: Crypt-SSLeay thread safe ?

"Christopher Hart" <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.lwp
Message-ID <[email protected]>
I found the same issues after extensive usage with Crypt::SSLeay.  My
limited testing with sites that allowed both HTTP and HTTPS led me to
believe that Crypt::SSLeay is not thread safe.  When I looked into
this about two years ago, my suspicion was that it was SSLeay itself,
not the Perl wrapper code.  I basically gave up on trying to find a
solution and it's been forever since I have thought about this
problem, so I don't know that I can provide much more detail.

At least it's not just you!

Chris

On Mon, Jun 23, 2008 at 11:57 AM, Harry Wu <[email protected]> wrote:
> Hi,
>    Thanks for creating the great LWP and
> Crypt::SSLeay<http://search.cpan.org/%7Edland/Crypt-SSLeay-0.57/>
> modules. I use it very often.
>
>    I am using LWP + https in a multithread perl script.  I found that
> sometime it crashs.
>
> Is Crypt::SSLeay <http://search.cpan.org/%7Edland/Crypt-SSLeay-0.57/>
> thread safe ?      If not, it is possible to make it thread safe ?
>
> Does LWP + https    use
> Net::SSLeay<http://search.cpan.org/%7Eflora/Net_SSLeay.pm/SSLeay.pm>at
> all ? I am not sure about the relationship between
> Crypt::SSLeay <http://search.cpan.org/%7Edland/Crypt-SSLeay-0.57/> and
> Net::SSLeay <http://search.cpan.org/%7Eflora/Net_SSLeay.pm/SSLeay.pm> .
> Currently LWP only use
> Crypt::SSLeay<http://search.cpan.org/%7Edland/Crypt-SSLeay-0.57/>,
> right ?
>
>
> Thanks a lot.. Great job !!
>
> Harry
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.