Subject: | Some SSL sites still hang LWP |
Date: | Fri, 21 Dec 2012 11:18:25 +0100 |
To: | bug-libwww-perl [...] rt.cpan.org |
From: | Anders Melchiorsen <am [...] jobindex.dk> |
This program will currently hang:
perl -e 'use LWP::Simple; print get("https://www.geocaching.com");'
It is apparently fixed by this patch, but I have a feeling that it might
break something else?
--- a/perl-5.16.2/lib/site_perl/5.16.2/Net/HTTP/Methods.pm
+++ b/perl-5.16.2/lib/site_perl/5.16.2/Net/HTTP/Methods.pm
@@ -233,7 +233,6 @@ sub my_read {
return length($_[0]);
}
else {
- die "read timeout" unless $self->can_read;
return $self->sysread($_[0], $len);
}
}
Best regards,
Anders.
--
Anders Melchiorsen, Programmer, am@jobindex.dk
http://www.jobindex.dk/