For Programmers: Free Programming Magazines  


Home > Archive > PERL CGI Beginners > May 2004 > LWP with Crypt::SSLeay or Net::SSLeay with OpenSSL v0.97c hanging









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author LWP with Crypt::SSLeay or Net::SSLeay with OpenSSL v0.97c hanging
Taylor Carpenter

2004-05-22, 11:32 am

Hello,






I am getting 500 read timeouts trying to download a 2MB file at around

1.5MB (downloading in chunks) with ActiveState Perl (5.8.3 build 809)
and Crypt::SSLeay v0.51 compiled against OpenSSL v0.9.7c.



I then tried the same script on a Linux box and it worked fine. I then

noticed I was using IO::Socket::SSL and Net::SSLeay rather than

Crypt::SSLeay on the Linux machine, so I uninstalled Crypt::SSLeay on

the windows machine and installed the ppm module Net::SSLeay v1.25. It

still timed out.



So I installed Crypt::SSLeay on the Linux machine and it did not work.

After all this I noticed that I had both OpenSSL 0.9.6g and 0.9.7c. The

Net::SSLeay was compiled against the 0.9.6g. I installed a version

compiled against 0.9.7c and it failed on the download also.



Also downloads were working from the site just a couple of ws ago,

and my Crypt::SSLeay install and OpenSSL were not updated or modified.

I suppose something could have changed with the server that is causing a

problem to show up in OpenSSL, but I don't know.



Any ideas?



Taylor Carpenter

email: first DOT news DOT 20 DOT taylorcc AT spameater DOT org
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com