LMPX.COM |
Home | Linux | Mysql | PHP | XML | ||
|
|
|||
From: Christopher Hart Date: Tue Jun 24 16:03:22 2008 Subject: Re: Crypt-SSLeay thread safe ?
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 <harry.wu3@gmail.com> 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 >
| Navigate in group perl.libwww at sever nntp.perl.org | |
| Previous | Next |
| © No Copyright You are free to use Anything |
Site Maintained by PHP Developer
Powered By PHP Consultants |